X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Symmetry.cpp;fp=src%2FFeaturesPlugin%2FFeaturesPlugin_Symmetry.cpp;h=38b50f39391e0d19cd01cf266d4ef525c52f57e2;hb=c4eab94a20a0d93100549a210582d46409fec1cc;hp=a243e55f30b0137cf373080a386e9d27a515da81;hpb=23086d3bcb90d68235dfd4b2f1365d87b6f6c4f0;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Symmetry.cpp b/src/FeaturesPlugin/FeaturesPlugin_Symmetry.cpp index a243e55f3..38b50f393 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Symmetry.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Symmetry.cpp @@ -369,8 +369,12 @@ void FeaturesPlugin_Symmetry::buildResult( // Store and name the result. ResultBodyPtr aResultBody = document()->createBody(data(), theResultIndex); - aResultBody->storeModified(theBaseShape, aCompound); - FeaturesPlugin_Tools::loadModifiedShapes(aResultBody, theBaseShape, anAlgoList, "Symmetried"); + + ListOfShape aBaseShapes; + aBaseShapes.push_back(theBaseShape); + FeaturesPlugin_Tools::loadModifiedShapes(aResultBody, aBaseShapes, ListOfShape(), + anAlgoList, aCompound, "Symmetried"); + setResult(aResultBody, theResultIndex); }