Run recompute() after creating a Draft.clone.

This commit is contained in:
Markus Lampert
2017-09-12 12:13:07 -07:00
parent dc13d85d37
commit 5fe6b129cf

View File

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