Skip to content

Commit 40b226c

Browse files
committed
Add functionallity Dummy attribute to can be linked multiple times to the same geometry.
1 parent fb85b49 commit 40b226c

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
@@ -8723,11 +8723,12 @@ void GdtfFixture::ResolveDmxLogicalChanRefs(GdtfDmxChannelPtr dmxChnl)
87238723
geometryName = geoRef->GetName();
87248724
}
87258725

8726-
// Allow NoFeature attributes to be linked multiple times to the same geometry
8726+
// Allow NoFeature and Dummy attributes to be linked multiple times to the same geometry
87278727
bool isNoFeatureAttribute = (attrPtr == fNoFeature) || (attributeName.EqualNoCase("NoFeature"));
8728+
bool isDummyAttribute = attributeName.EqualNoCase("Dummy");
87288729

87298730
bool alreadyExists = false;
8730-
if (!isNoFeatureAttribute)
8731+
if (!isNoFeatureAttribute && !isDummyAttribute)
87318732
{
87328733
GdtfDmxModePtr mode = dmxChnl->GetParentMode();
87338734

0 commit comments

Comments
 (0)