From: NATHALIE GORE Date: Tue, 20 Aug 2019 09:22:11 +0000 (+0200) Subject: Modify for Macro X-Git-Tag: V9_5_0a1~167^2~66 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=345c0800dd3a33f3cd26dd725cf4d1f4d0ff7021;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