Fix typo
I figure this should be Z instead of Y, but even if I'm wrong there's no reason to check for hasattr(pts,'Y') twice.
This commit is contained in:
committed by
Yorik van Havre
parent
77f389685e
commit
5fe5ea923f
@@ -6137,7 +6137,7 @@ class _PointArray(_DraftObject):
|
||||
if hasattr(obj.Base, 'Shape'):
|
||||
for pts in pls:
|
||||
#print pts # inspect the objects
|
||||
if hasattr(pts, 'X') and hasattr(pts, 'Y') and hasattr(pts, 'Y'):
|
||||
if hasattr(pts, 'X') and hasattr(pts, 'Y') and hasattr(pts, 'Z'):
|
||||
nshape = obj.Base.Shape.copy()
|
||||
if hasattr(pts, 'Placement'):
|
||||
place = pts.Placement
|
||||
|
||||
Reference in New Issue
Block a user