Draft: Fix Draft_Snap_Intersection for self-intersecting objects

This commit is contained in:
Roy-043
2022-04-22 17:23:40 +02:00
committed by Uwe
parent 5ed2850a03
commit a222bc6782

View File

@@ -1005,7 +1005,7 @@ class Snapper:
snaps = []
if self.isEnabled("Intersection"):
# get the stored objects to calculate intersections
for o in self.lastObj[:-1]:
for o in self.lastObj:
obj = App.ActiveDocument.getObject(o)
if obj:
if obj.isDerivedFrom("Part::Feature") or (Draft.getType(obj) == "Axis"):