Skip to content

Commit 47bd542

Browse files
Merge pull request #132 from mvrdevelopment/dummy-attribute-mult-link-impl
Add functionality Dummy attribute to can be linked multiple times to…
2 parents 71486ec + 40b226c commit 47bd542

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/GDTFManager.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8719,11 +8719,12 @@ void GdtfFixture::ResolveDmxLogicalChanRefs(GdtfDmxChannelPtr dmxChnl)
87198719
geometryName = geoRef->GetName();
87208720
}
87218721

8722-
// Allow NoFeature attributes to be linked multiple times to the same geometry
8722+
// Allow NoFeature and Dummy attributes to be linked multiple times to the same geometry
87238723
bool isNoFeatureAttribute = (attrPtr == fNoFeature) || (attributeName.EqualNoCase("NoFeature"));
8724+
bool isDummyAttribute = attributeName.EqualNoCase("Dummy");
87248725

87258726
bool alreadyExists = false;
8726-
if (!isNoFeatureAttribute)
8727+
if (!isNoFeatureAttribute && !isDummyAttribute)
87278728
{
87288729
GdtfDmxModePtr mode = dmxChnl->GetParentMode();
87298730

0 commit comments

Comments
 (0)