X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_BodyBuilder.cpp;h=6c3a491c5c22301e60d24268f70f4e0a0292a022;hb=02f03a3b7bea0f5bca75f57103f8b58f41aec13f;hp=7e8c253b6de27927e036f7456a9f7d2d7009f11a;hpb=2ef774c0a2e0bfd91dd960337fb5f9762092e626;p=modules%2Fshaper.git diff --git a/src/Model/Model_BodyBuilder.cpp b/src/Model/Model_BodyBuilder.cpp index 7e8c253b6..6c3a491c5 100644 --- a/src/Model/Model_BodyBuilder.cpp +++ b/src/Model/Model_BodyBuilder.cpp @@ -338,7 +338,8 @@ void Model_BodyBuilder::storeModified(const GeomShapePtr& theOldShape, TDF_Label anOriginalLabel; TopTools_ListOfShape anOldList; if (!isShapeInTree(aData->shapeLab(), anAccess2, aShapeOld, anOriginalLabel)) { - if (aShapeOld.ShapeType() == TopAbs_COMPOUND) { // check this could be a compund by a whole feature selection + // check this could be a compund by the whole feature selection + if (aShapeOld.ShapeType() == TopAbs_COMPOUND) { for(TopoDS_Iterator aCompIter(aShapeOld); aCompIter.More(); aCompIter.Next()) { if (isShapeInTree(aData->shapeLab(), anAccess2, aCompIter.Value(), anOriginalLabel)) { anOldList.Append(aCompIter.Value());