]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Execute Fillet feature from Python API if all parameters are filled
authorazv <azv@opencascade.com>
Mon, 18 Dec 2017 08:18:42 +0000 (11:18 +0300)
committerazv <azv@opencascade.com>
Mon, 18 Dec 2017 08:18:42 +0000 (11:18 +0300)
src/FeaturesAPI/FeaturesAPI_Fillet.cpp

index 17878f0cf2342d8a8b079156f46ea442d339f031..d69ed3d06fc9ee72f34b533513992ec4241f2d6f 100644 (file)
@@ -40,6 +40,8 @@ FeaturesAPI_Fillet::FeaturesAPI_Fillet(const std::shared_ptr<ModelAPI_Feature>&
     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<ModelAPI_Feature>&
     fillAttribute(theBaseObjects, mybaseObjects);
     fillAttribute(theRadius1, mystartRadius);
     fillAttribute(theRadius2, myendRadius);
+
+    execIfBaseNotEmpty();
   }
 }