X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Partition.cpp;h=5272cd8188a8afb92283c3f1ece5ae6bde57f968;hb=21a0c85b52bb93f94680e2342370764e6510e387;hp=9268f95d7f1ebe055df9948b85165ac4af1468de;hpb=b60b14b88cd5b0973643f552b4f128cfe9bf2152;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp b/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp index 9268f95d7..5272cd818 100755 --- a/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp @@ -131,7 +131,7 @@ void FeaturesPlugin_Partition::storeResult( const std::shared_ptr theMakeShape, const int theIndex) { - // Find base. The most complicated is the real modified object (#1799 if box is partitioned by + // Find base. The most complicated is the real modified object (#1799 if box is partitioned by // two planes the box is the base, not planes, independently on the order in the list). GeomShapePtr aBaseShape; for(ListOfShape::const_iterator anIt = theObjects.cbegin(); anIt != theObjects.cend(); ++anIt) { @@ -163,7 +163,7 @@ void FeaturesPlugin_Partition::storeResult( const int aDelTag = 1; /// sub solids will be placed at labels 3, 4, etc. if result is compound of solids - const int aSubTag = 2; + const int aSubTag = 2; int aModTag = aSubTag + 10000; const std::string aModName = "Modified"; @@ -204,7 +204,7 @@ GeomShapePtr findBase(const GeomShapePtr theObjectShape, GeomShapePtr anObjectSubShape = anObjectSubShapesExp.current(); ListOfShape aModifiedShapes; theMakeShape->modified(anObjectSubShape, aModifiedShapes); - for(ListOfShape::const_iterator + for(ListOfShape::const_iterator aModIt = aModifiedShapes.cbegin(); aModIt != aModifiedShapes.cend(); ++aModIt) { GeomShapePtr aModShape = *aModIt; if(aMapOfSubShapes->isBound(aModShape)) {