DraftGeomUtils: formatting

Restore a change from commit #add4897 that i accidentally deleted during conflict resolution
This commit is contained in:
alafr
2020-06-18 17:39:20 +02:00
parent afd644fd72
commit 8a17342b69

View File

@@ -70,7 +70,7 @@ def vec(edge, use_orientation = False):
return edge.Vertexes[-1].Point.sub(edge.Vertexes[0].Point)
else:
return edge.Vertexes[0].Point.sub(edge.Vertexes[-1].Point)
elif isinstance(edge,Part.LineSegment):
elif isinstance(edge, Part.LineSegment):
return edge.EndPoint.sub(edge.StartPoint)
else:
return None