From: dbv Date: Thu, 17 Dec 2015 12:55:50 +0000 (+0300) Subject: Bug #1101: groups work wrong X-Git-Tag: V_2.1.0~160 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4223bbeeee6ba7a6a2334208f0fc2d08f309a9ca;p=modules%2Fshaper.git Bug #1101: groups work wrong --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp b/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp index 2a584910c..5b0591708 100755 --- a/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp @@ -17,6 +17,7 @@ #include #include +#include #include #include #include @@ -115,6 +116,9 @@ void FeaturesPlugin_Partition::execute() if(isCombine) { // Create single result. + std::shared_ptr aCompoud = GeomAlgoAPI_CompoundBuilder::compound(anObjects); + anObjects.clear(); + anObjects.push_back(aCompoud); GeomAlgoAPI_Partition aPartitionAlgo(anObjects, aTools); // Checking that the algorithm worked properly.