From: NATHALIE GORE Date: Fri, 9 Aug 2019 14:03:12 +0000 (+0200) Subject: Fix importParameters plugin X-Git-Tag: V9_4_0a2~7^2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=37207795785ee1bec919e7f2c48a325ca2cf3da7;p=modules%2Fshaper.git Fix importParameters plugin --- diff --git a/src/PythonAddons/addons_Features.py b/src/PythonAddons/addons_Features.py index 1bb7354a9..3da8b8f1e 100644 --- a/src/PythonAddons/addons_Features.py +++ b/src/PythonAddons/addons_Features.py @@ -23,6 +23,7 @@ import ModelAPI from macros.rectangle.feature import SketchPlugin_Rectangle from macros.compoundVertices.feature import compoundVertices +from macros.importParameters.feature import importParameters from macros.box.feature import BoxFeature @@ -47,6 +48,8 @@ class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin): aFeature = SketchPlugin_Rectangle().__disown__() elif theFeatureID == compoundVertices.ID(): aFeature = compoundVertices().__disown__() + elif theFeatureID == importParameters.ID(): + aFeature = importParameters().__disown__() elif theFeatureID == BoxFeature.ID(): aFeature = BoxFeature().__disown__() else: