Arch : little fix in ArchComponent
This commit is contained in:
parent
9b1fc9e705
commit
c94c203843
|
@ -709,7 +709,7 @@ class ViewProviderComponent:
|
|||
vobj.update()
|
||||
elif prop == "ShapeColor":
|
||||
# restore DiffuseColor after overridden by ShapeColor
|
||||
if hasattr(vobj.Object,"DiffuseColor"):
|
||||
if hasattr(vobj,"DiffuseColor"):
|
||||
if len(vobj.DiffuseColor) > 1:
|
||||
d = vobj.DiffuseColor
|
||||
vobj.DiffuseColor = d
|
||||
|
|
Loading…
Reference in New Issue
Block a user