From 40b226c229835591f1cd4da5ceb19a820a09abac Mon Sep 17 00:00:00 2001 From: Vector Date: Mon, 1 Dec 2025 11:48:37 +0000 Subject: [PATCH] Add functionallity Dummy attribute to can be linked multiple times to the same geometry. --- src/GDTFManager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/GDTFManager.cpp b/src/GDTFManager.cpp index 44369f46..a7c8a935 100644 --- a/src/GDTFManager.cpp +++ b/src/GDTFManager.cpp @@ -8723,11 +8723,12 @@ void GdtfFixture::ResolveDmxLogicalChanRefs(GdtfDmxChannelPtr dmxChnl) geometryName = geoRef->GetName(); } - // Allow NoFeature attributes to be linked multiple times to the same geometry + // Allow NoFeature and Dummy attributes to be linked multiple times to the same geometry bool isNoFeatureAttribute = (attrPtr == fNoFeature) || (attributeName.EqualNoCase("NoFeature")); + bool isDummyAttribute = attributeName.EqualNoCase("Dummy"); bool alreadyExists = false; - if (!isNoFeatureAttribute) + if (!isNoFeatureAttribute && !isDummyAttribute) { GdtfDmxModePtr mode = dmxChnl->GetParentMode();