From: NATHALIE GORE Date: Tue, 20 Aug 2019 09:22:11 +0000 (+0200) Subject: Modify for Macro X-Git-Tag: V9_4_0a2~7^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a44fe35c388860570c3e4c58843fb80a46e7ebfb;p=modules%2Fshaper.git Modify for Macro --- diff --git a/src/PythonAddons/macros/compoundVertices/feature.py b/src/PythonAddons/macros/compoundVertices/feature.py index 3f5a3e3f1..c8e5fed48 100644 --- a/src/PythonAddons/macros/compoundVertices/feature.py +++ b/src/PythonAddons/macros/compoundVertices/feature.py @@ -74,4 +74,12 @@ class compoundVertices(model.Feature): return setError("The file does not exist") - + + def isMacro(self): + """Override Feature.initAttributes(). + F.isMacro() -> True + + compoundVertices feature is macro: removes itself on the creation transaction + finish. + """ + return True