AttachablePlacement: fix editing by double-click
This commit is contained in:
parent
e045481c95
commit
b315aeaaf6
|
@ -79,8 +79,9 @@ class AttachablePlacement(AttachableFeature):
|
|||
|
||||
class ViewProviderAttachableFeature(lattice2BaseFeature.ViewProviderLatticeFeature):
|
||||
always_edit_attachment = False
|
||||
|
||||
def setEdit(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 PartGui
|
||||
import FreeCADGui as Gui
|
||||
PartGui.AttachmentEditor.editAttachment(self.Object,
|
||||
|
|
Loading…
Reference in New Issue
Block a user