From 80afdaf277a295f26e2efed9bbc33c4b2d7a163b Mon Sep 17 00:00:00 2001 From: azv Date: Mon, 18 Dec 2017 11:18:42 +0300 Subject: [PATCH] Execute Fillet feature from Python API if all parameters are filled --- src/FeaturesAPI/FeaturesAPI_Fillet.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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(); } } -- 2.30.2