Attached Placement: fixes for editing state
This commit is contained in:
parent
2818e9a0a6
commit
c7522932f1
|
@ -62,7 +62,10 @@ class ViewProviderAttachablePlacement(lattice2BaseFeature.ViewProviderLatticeFea
|
|||
|
||||
def setEdit(self,vobj,mode):
|
||||
import PartGui
|
||||
PartGui.AttachmentEditor.editAttachment(self.Object)
|
||||
import FreeCADGui as Gui
|
||||
PartGui.AttachmentEditor.editAttachment(self.Object,
|
||||
callback_OK= lambda: Gui.ActiveDocument.resetEdit(),
|
||||
callback_Cancel= lambda: Gui.ActiveDocument.resetEdit())
|
||||
return True
|
||||
|
||||
def unsetEdit(self,vobj,mode):
|
||||
|
|
Loading…
Reference in New Issue
Block a user