]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Minor changes
authormpv <mpv@opencascade.com>
Thu, 17 Sep 2020 16:20:41 +0000 (19:20 +0300)
committermpv <mpv@opencascade.com>
Thu, 17 Sep 2020 16:21:18 +0000 (19:21 +0300)
src/Model/Model_BodyBuilder.cpp

index 7e8c253b6de27927e036f7456a9f7d2d7009f11a..6c3a491c5c22301e60d24268f70f4e0a0292a022 100644 (file)
@@ -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());