-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
}
// LCOV_EXCL_STOP
- std::list<std::string>::const_iterator anIt = theArguments.begin(), aLast = theArguments.end();
+ std::list<std::string>::const_iterator anIt = theArguments.begin();
std::string aSelectedMethod;
if(theFeature->string(*anIt)) {
aSelectedMethod = theFeature->string(*anIt)->value();
}
+ if (aSelectedMethod == "ThroughAll") return true;
anIt++;
std::string aCreationMethod = *anIt;
anIt++;
aToShape = anAttrSel->context()->shape();
}
if (aToShape->isCompound()) {
- GeomAPI_ShapeIterator anIt(aToShape);
- aToShape = anIt.current();
+ GeomAPI_ShapeIterator aSIt(aToShape);
+ aToShape = aSIt.current();
}
}
anIt++;
aFromShape = anAttrSel->context()->shape();
}
if (aFromShape->isCompound()) {
- GeomAPI_ShapeIterator anIt(aFromShape);
- aFromShape = anIt.current();
+ GeomAPI_ShapeIterator aSIt(aFromShape);
+ aFromShape = aSIt.current();
}
}
anIt++;