Arch : little fix in ArchComponent

This commit is contained in:
wood-galaxy
2015-09-25 20:02:38 +02:00
parent b5851e5299
commit d785cdd99f

View File

@@ -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