Skip to content

Commit

Permalink
Merge pull request #432 from GS90/master
Browse files Browse the repository at this point in the history
Removing export (UnfoldUnattended) and sketches recompute
  • Loading branch information
shaise authored Jan 5, 2025
2 parents 3d1bb1f + 43b4154 commit 589f4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SheetMetalUnfoldCmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 589f4e7

Please sign in to comment.