From: mpv Date: Thu, 17 Sep 2020 16:20:41 +0000 (+0300) Subject: Minor changes X-Git-Tag: V9_6_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=02f03a3b7bea0f5bca75f57103f8b58f41aec13f;p=modules%2Fshaper.git Minor changes --- 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());