Copy / paste of empty measure creates incorrect rests (corrupt in 5/4)
Ubuntu 14.04, GIT commit: 13eccf9
1) empty score, 4/4
2) select two measures
3) copy
4) click somewhere else
5) paste
Result: the measures are pasted with normal whole rests rather than measure rests. This would be a relativewly minor nuisance (we lived with it in 1.3), but try it with a score in 5/4. You get a quarter rest only - measure is corrupt.
Shouldn't be hard to identify cause; will look into it soon.
Comments
Cause is this:
https://github.com/musescore/MuseScore/commit/9a705e189b39687ba1d7bf684…
I assume that fixed the problem with copying ranges between time signatures, but it introduced this new problem. In the 5/4 case specifically, the duration gets set to V_INVALID, and that's why we end up with only a quarter note pasted, I guess.
Indeed.
Crossed posts [Edited message]
This does the trick; as usual, review is appreciated:
https://github.com/musescore/MuseScore/pull/1780
Fixed in c4e7f3ee08
Automatically closed -- issue fixed for 2 weeks with no activity.