Merge pull request #15921 from alexpavlov96/slur_not_avoiding_bends

not deforming slurs over bends
This commit is contained in:
Alexander Pavlov 2023-01-20 14:43:00 +02:00 committed by GitHub
commit 9c8e83e9b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -389,7 +389,7 @@ Shape SlurSegment::getSegmentShape(Segment* seg, ChordRest* startCR, ChordRest*
const EngravingItem* parent = item->parentItem();
// Its own startCR or items belonging to it, lyrics, fingering, ledger lines, articulation on endCR
if (item == startCR || parent == startCR || item->isTextBase() || item->isLedgerLine()
|| (item->isArticulation() && parent == endCR)) {
|| (item->isArticulation() && parent == endCR) || item->isBend() || item->isStretchedBend()) {
return true;
}
// Items that are on the start segment but in a different voice