Draft: Small fix in snapper

This commit is contained in:
Yorik van Havre
2018-02-16 10:52:57 -02:00
parent 1cad114c36
commit cfde8a0d51

View File

@@ -470,7 +470,7 @@ class Snapper:
return tsnap[2],eline
for o in [self.lastObj[1],self.lastObj[0]]:
if o:
if o and (self.isEnabled('extension') or self.isEnabled('parallel')):
ob = FreeCAD.ActiveDocument.getObject(o)
if ob:
if ob.isDerivedFrom("Part::Feature"):