From 02f03a3b7bea0f5bca75f57103f8b58f41aec13f Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 17 Sep 2020 19:20:41 +0300 Subject: [PATCH] Minor changes --- src/Model/Model_BodyBuilder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); -- 2.39.2