diff --git a/SheetMetalUnfoldCmd.py b/SheetMetalUnfoldCmd.py index 7ada8cd..613fdf1 100644 --- a/SheetMetalUnfoldCmd.py +++ b/SheetMetalUnfoldCmd.py @@ -261,6 +261,7 @@ def claimChildren(self): for itemName in self.Object.UnfoldSketches: item = self.Object.Document.getObject(itemName) if item is not None: + item.recompute(True) objs.append(item) return objs @@ -549,7 +550,6 @@ def Activated(self): SMUnfold(newObj, selobj, sel.SubElementNames) SMUnfoldViewProvider(newObj.ViewObject) SheetMetalTools.smAddNewObject(selobj, newObj, activeBody) - smUnfoldExportSketches(newObj, False) selobj.Visibility = True return