Skip to content

Commit

Permalink
Merge pull request #3648 from rettinghaus/fix-dynam-extender
Browse files Browse the repository at this point in the history
only draw extender if set explicitly
  • Loading branch information
lpugin authored Apr 19, 2024
2 parents 23b4e2d + f6d5828 commit da4bac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ void System::AddToDrawingListIfNecessary(Object *object)
else if (object->Is(DYNAM)) {
Dynam *dynam = vrv_cast<Dynam *>(object);
assert(dynam);
if (dynam->GetEnd() || (dynam->GetNextLink() && (dynam->GetExtender() == BOOLEAN_true))) {
if ((dynam->GetEnd() || dynam->GetNextLink()) && (dynam->GetExtender() == BOOLEAN_true)) {
this->AddToDrawingList(dynam);
}
}
Expand Down

0 comments on commit da4bac4

Please sign in to comment.