]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_BooleanFuse.cpp
Salome HOME
Implementation and part of tests of High Level Objects History task for Common, Cut...
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_BooleanFuse.cpp
index f6e4599f730e695f2288301057c3d34a5c149211..b8bec11c1a17d8e39e4c76f02350db5e450f1793 100644 (file)
@@ -271,20 +271,19 @@ void FeaturesPlugin_BooleanFuse::execute()
 
   int aResultIndex = 0;
 
-  GeomShapePtr aBackShape = anOriginalShapes.back();
-  anOriginalShapes.pop_back();
   ResultBodyPtr aResultBody = document()->createBody(data(), aResultIndex);
 
+  ListOfShape anEmptyTools;
   FeaturesPlugin_Tools::loadModifiedShapes(aResultBody,
-                                           aBackShape,
                                            anOriginalShapes,
+                                           anEmptyTools,
                                            aMakeShapeList,
                                            aShape);
   setResult(aResultBody, aResultIndex);
   aResultIndex++;
 
   FeaturesPlugin_Tools::loadDeletedShapes(aResultBody,
-                                          aBackShape,
+                                          GeomShapePtr(),
                                           anOriginalShapes,
                                           aMakeShapeList,
                                           aShape);