Fixing OfflineRenderingUtils.guidata on BIMExample.FCstd

This commit is contained in:
martinRenou
2024-11-29 14:28:36 +01:00
committed by Yorik van Havre
parent 63ad7d3fea
commit 6bf372aef6

View File

@@ -220,6 +220,8 @@ def getGuiData(filename):
if isinstance(properties,dict):
for propname in properties.keys():
if properties[propname]["type"] == "App::PropertyColorList":
if not guidata[key][propname]["value"]:
continue
df = zdoc.open(guidata[key][propname]["value"])
buf = df.read()
df.close()