PATCH: Fix multi-measure copy/paste

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

PATCH: Fix multi-measure copy/paste

Seth Yastrov
Hi,

Copy & pasting multiple measures resulted in messed up tick offsets
with multiple voices.
This was due to measures with relative tick offsets not being
calculated to absolute offsets. Fixed by setting score()->curTick = 0
before copying the measures and in Measure::read() setting measure
ticks of -1 to score()->curTick.

Seth

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

multimeasurecopypaste_diff (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: PATCH: Fix multi-measure copy/paste

wschweer
Administrator
patch is in revision 1004. Thanks

Werner

On Mittwoch 11 Juni 2008, Seth Yastrov wrote:

> Hi,
>
> Copy & pasting multiple measures resulted in messed up tick offsets
> with multiple voices.
> This was due to measures with relative tick offsets not being
> calculated to absolute offsets. Fixed by setting score()->curTick = 0
> before copying the measures and in Measure::read() setting measure
> ticks of -1 to score()->curTick.
>
> Seth
>




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer