Merge pull request #5449 from mwganson/pointarray

Draft: pointarray set Count property during execute
This commit is contained in:
Yorik van Havre
2022-02-01 13:14:06 +01:00
committed by GitHub

View File

@@ -119,6 +119,7 @@ class PointArray(DraftLink):
"""Run when the object is created or recomputed."""
pt_list, count = get_point_list(obj.PointObject)
obj.Count = count
pls = build_placements(obj.Base, pt_list, obj.ExtraPlacement)
return super(PointArray, self).buildShape(obj, obj.Placement, pls)