Skip to content

Commit 97ed6e8

Browse files
Fixed issue where FixtureManifest may not have the requested mode
1 parent 9209ffd commit 97ed6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/components/fixtures/DMXFixture.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func set_manifest(p_manifest: Variant, p_mode: String, p_no_signal: bool = false
173173
if p_manifest is not FixtureManifest:
174174
p_manifest = FixtureLibrary.get_manifest(type_convert(p_manifest, TYPE_STRING))
175175

176-
if not is_instance_valid(p_manifest):
176+
if not is_instance_valid(p_manifest) or not p_manifest.has_mode(p_mode):
177177
return false
178178

179179
zero_channels()

0 commit comments

Comments
 (0)