X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBuildPlugin%2FBuildPlugin_Compound.cpp;h=7aa9a81641d78c6c47d0f58ae41f17c78968e6d5;hb=c57d2a7f1a57af01656e47e2e510990492404fce;hp=c2c6f756c1729bebd9cbd70fdda211c2e6e6bc75;hpb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;p=modules%2Fshaper.git diff --git a/src/BuildPlugin/BuildPlugin_Compound.cpp b/src/BuildPlugin/BuildPlugin_Compound.cpp index c2c6f756c..7aa9a8164 100644 --- a/src/BuildPlugin/BuildPlugin_Compound.cpp +++ b/src/BuildPlugin/BuildPlugin_Compound.cpp @@ -75,7 +75,7 @@ void BuildPlugin_Compound::execute() int anIndexToRemove = 0; if (aCopyCompound) { ResultBodyPtr aResultBody = document()->createBody(data(), anIndexToRemove++); - aResultBody->store(aCopyCompound); + aResultBody->storeModified(anOriginalShapes, aCopyCompound, aCopyAlgo); aResultBody->loadModifiedShapes(aCopyAlgo, aCompound, GeomAPI_Shape::VERTEX); aResultBody->loadModifiedShapes(aCopyAlgo, aCompound, GeomAPI_Shape::EDGE); aResultBody->loadModifiedShapes(aCopyAlgo, aCompound, GeomAPI_Shape::FACE);