Draft: added shoogens fix IRW test

This commit is contained in:
Yorik van Havre 2015-03-15 14:42:36 -03:00
parent b007bd19e4
commit 0f7ef76d56

View File

@ -4187,7 +4187,7 @@ class _Wire(_DraftObject):
pts[-1] = realfpend
obj.Points = pts
elif prop == "Length":
if obj.Shape:
if obj.Shape and not obj.Shape.isNull():
if obj.Length.Value != obj.Shape.Length:
if len(obj.Points) == 2:
v = obj.Points[-1].sub(obj.Points[0])