From: azv Date: Mon, 18 Dec 2017 08:18:42 +0000 (+0300) Subject: Execute Fillet feature from Python API if all parameters are filled X-Git-Tag: V_2.10.1~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=80afdaf277a295f26e2efed9bbc33c4b2d7a163b;p=modules%2Fshaper.git Execute Fillet feature from Python API if all parameters are filled --- diff --git a/src/FeaturesAPI/FeaturesAPI_Fillet.cpp b/src/FeaturesAPI/FeaturesAPI_Fillet.cpp index 17878f0cf..d69ed3d06 100644 --- a/src/FeaturesAPI/FeaturesAPI_Fillet.cpp +++ b/src/FeaturesAPI/FeaturesAPI_Fillet.cpp @@ -40,6 +40,8 @@ FeaturesAPI_Fillet::FeaturesAPI_Fillet(const std::shared_ptr& fillAttribute(FeaturesPlugin_Fillet::CREATION_METHOD_SINGLE_RADIUS(), mycreationMethod); fillAttribute(theBaseObjects, mybaseObjects); fillAttribute(theRadius, myradius); + + execIfBaseNotEmpty(); } } @@ -54,6 +56,8 @@ FeaturesAPI_Fillet::FeaturesAPI_Fillet(const std::shared_ptr& fillAttribute(theBaseObjects, mybaseObjects); fillAttribute(theRadius1, mystartRadius); fillAttribute(theRadius2, myendRadius); + + execIfBaseNotEmpty(); } }