Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code

This commit is contained in:
wmayer 2015-03-15 18:53:29 +01:00
commit e0dab757be

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])