From: NATHALIE GORE Date: Fri, 9 Aug 2019 14:03:12 +0000 (+0200) Subject: Fix importParameters plugin X-Git-Tag: V9_5_0a1~167^2~69 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=824fea45bd7fa6181ab159ada1b491a790718720;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: