fix #31 error when closing transform on polar array
This commit is contained in:
parent
0c595166f3
commit
4f7a6218df
|
@ -90,7 +90,7 @@ class ViewProviderAttachableFeature(lattice2BaseFeature.ViewProviderLatticeFeatu
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def unsetEdit(self,vobj,mode):
|
def unsetEdit(self,vobj,mode):
|
||||||
if not (mode == EDIT_ATTACHMENT or (mode == 0 and always_edit_attachment)): raise NotImplementedError()
|
if not (mode == EDIT_ATTACHMENT or (mode == 0 and self.always_edit_attachment)): raise NotImplementedError()
|
||||||
import FreeCADGui as Gui
|
import FreeCADGui as Gui
|
||||||
Gui.Control.closeDialog()
|
Gui.Control.closeDialog()
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user