From: dbv Date: Tue, 14 Jun 2016 14:22:29 +0000 (+0300) Subject: Fixed features creation from CPP High API X-Git-Tag: V_2.4.0~91^2~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6339093425f6055e2491220a54ae23936642768d;p=modules%2Fshaper.git Fixed features creation from CPP High API --- diff --git a/src/FeaturesAPI/FeaturesAPI_Boolean.cpp b/src/FeaturesAPI/FeaturesAPI_Boolean.cpp index 6f68890cf..128b9abfc 100644 --- a/src/FeaturesAPI/FeaturesAPI_Boolean.cpp +++ b/src/FeaturesAPI/FeaturesAPI_Boolean.cpp @@ -25,9 +25,11 @@ FeaturesAPI_Boolean::FeaturesAPI_Boolean(const std::shared_ptr : ModelHighAPI_Interface(theFeature) { if(initialize()) { - setBoolType(theBoolType); - setMainObjects(theMainObjects); - setToolObjects(theToolObjects); + fillAttribute(theBoolType, myboolType); + fillAttribute(theMainObjects, mymainObjects); + fillAttribute(theToolObjects, mytoolObjects); + + execute(); } } diff --git a/src/FeaturesAPI/FeaturesAPI_Extrusion.cpp b/src/FeaturesAPI/FeaturesAPI_Extrusion.cpp index da6f0cf3e..8bb243a02 100644 --- a/src/FeaturesAPI/FeaturesAPI_Extrusion.cpp +++ b/src/FeaturesAPI/FeaturesAPI_Extrusion.cpp @@ -23,8 +23,8 @@ FeaturesAPI_Extrusion::FeaturesAPI_Extrusion(const std::shared_ptr