Set transparency of base model clones to 80

This commit is contained in:
Markus Lampert
2019-07-22 21:33:54 -07:00
parent 820ce14926
commit b6f856ae61

View File

@@ -85,6 +85,7 @@ def createResourceClone(obj, orig, name, icon):
if clone.ViewObject:
PathIconViewProvider.Attach(clone.ViewObject, icon)
clone.ViewObject.Visibility = False
clone.ViewObject.Transparency = 80
obj.Document.recompute() # necessary to create the clone shape
return clone