Improved node selection

Allows to select an edit node also if it doesn't lay on an object.
This commit is contained in:
carlopav
2019-04-28 11:24:50 +02:00
committed by Yorik van Havre
parent 0c5e57b58a
commit 0c281578c8

View File

@@ -4507,7 +4507,7 @@ class Edit(Modifier):
done = False
selobjs = FreeCADGui.ActiveDocument.ActiveView.getObjectsInfo(p)
if not selobjs:
return
selobjs = [FreeCADGui.ActiveDocument.ActiveView.getObjectInfo(p)]
for info in selobjs:
if info["Object"] == self.obj.Name:
if done: