From 4f7a6218df76f3c8b5264305fceed0510ccc021c Mon Sep 17 00:00:00 2001 From: DeepSOIC <vv.titov@gmail.com> Date: Fri, 12 Jul 2019 20:10:42 +0300 Subject: [PATCH] fix #31 error when closing transform on polar array --- lattice2AttachablePlacement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lattice2AttachablePlacement.py b/lattice2AttachablePlacement.py index 6009e19..d646c52 100644 --- a/lattice2AttachablePlacement.py +++ b/lattice2AttachablePlacement.py @@ -90,7 +90,7 @@ class ViewProviderAttachableFeature(lattice2BaseFeature.ViewProviderLatticeFeatu return True 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 Gui.Control.closeDialog() return True