-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Play count text parts refinements #29280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Sorry meant to post this here: |
src/engraving/dom/edit.cpp
Outdated
@@ -7204,7 +7214,7 @@ void Score::undoAddElement(EngravingItem* element, bool addToLinkedStaves, bool | |||
nbreath->setTrack(linkedTrack); | |||
nbreath->setParent(seg); | |||
doUndoAddElement(nbreath); | |||
} else if (element->isPlayCountText()) { | |||
} /*else if (element->isPlayCountText() && staff->shouldShowPlayCount()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just remove this code?
src/engraving/dom/excerpt.cpp
Outdated
@@ -1024,8 +1024,13 @@ static MeasureBase* cloneMeasure(MeasureBase* mb, Score* score, const Score* osc | |||
} | |||
} | |||
|
|||
if (oe && !oe->generated() && !oe->excludeFromOtherParts()) { | |||
bool cloneBarLine = oe && oe->isBarLine() && toBarLine(oe)->barLineType() == BarLineType::END_REPEAT | |||
&& toBarLine(oseg->element(0))->playCountText(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toBarLine(oseg->element(0)) -- can this be null? because you check it for null in other places
149aea1
to
c0d6f23
Compare
c0d6f23
to
00d2be9
Compare
Resolves: #29158
Resolves: #29268
Resolves: #29236 & its cause
Resolves: increasing repeat count in parts had no effect in other parts & main score