fix 1.x tremolo between 2 notes import
This commit is contained in:
parent
8eba9634fb
commit
3d9dd09597
1 changed files with 4 additions and 0 deletions
|
@ -1846,6 +1846,10 @@ void Measure::read(XmlReader& e, int staffIdx)
|
|||
tremolo->setParent(pch);
|
||||
pch->setTremolo(tremolo);
|
||||
chord->setTremolo(0);
|
||||
Fraction pts(timeStretch * pch->globalDuration());
|
||||
int pcrticks = pts.ticks();
|
||||
pch->setDuration(pcrticks / 2);
|
||||
chord->setDuration(crticks / 2);
|
||||
}
|
||||
else {
|
||||
qDebug("tremolo: first note not found");
|
||||
|
|
Loading…
Reference in a new issue