Ver código fonte

fix: no fx on "_" (hidden attriute)

micha 2 anos atrás
pai
commit
99de4e0489
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      _LibreLightDesk.py

+ 2 - 0
_LibreLightDesk.py

@@ -686,6 +686,8 @@ def process_effect(wing_buffer,fx_name=""):
                 continue
             data = FIXTURES.fixtures[fix]
             for attr in data["ATTRIBUT"]:
+                if attr.startswith("_"):
+                    continue
                 jdata = {"MODE":"FX"}
                 jdata["VALUE"] = None
                 jdata["FIX"] = fix