Fixing OfflineRenderingUtils.guidata on BIMExample.FCstd
This commit is contained in:
committed by
Yorik van Havre
parent
63ad7d3fea
commit
6bf372aef6
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user