Draft: Reverted 5ccc656

This commit is contained in:
Yorik van Havre
2019-01-31 10:53:07 -02:00
parent d439aa407f
commit aabf11926c

View File

@@ -4183,7 +4183,7 @@ class Edit(Modifier):
if info["Object"] != self.obj.Name:
return
if self.ui.addButton.isChecked() \
and Draft.getType(self.obj) in ["Wire","BSpline"] \
and Draft.getType(self.obj) == "Wire" \
and 'Edge' in info["Component"]:
self.addPointOnEdge(FreeCAD.Vector(info["x"],info["y"],info["z"]), int(info["Component"][4:]))
elif self.ui.addButton.isChecked():