From 31e8bb27a6454becd99d90eda8ffe7619ddeeaed Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Mon, 24 Aug 2020 12:44:36 +0800 Subject: [PATCH] Draft: fix point array without using link --- src/Mod/Draft/draftobjects/pointarray.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/Draft/draftobjects/pointarray.py b/src/Mod/Draft/draftobjects/pointarray.py index f3ecac55d7..5073efcf8c 100644 --- a/src/Mod/Draft/draftobjects/pointarray.py +++ b/src/Mod/Draft/draftobjects/pointarray.py @@ -64,6 +64,10 @@ class PointArray(DraftLink): """Set up the properties when the object is attached.""" self.set_properties(obj) super(PointArray, self).attach(obj) + + def linkSetup(self, obj): + """Set up the object as a link object.""" + super(PointArray, self).linkSetup(obj) obj.configLinkProperty(ElementCount='Count') def set_properties(self, obj):