X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFiltersPlugin%2FFiltersPlugin_OnGeometry.cpp;h=d234e4f8ec2114c07732fe99d00d3fb5ee47f1bb;hb=04e2497fc973f0afc95d0a4a6f95e37fb27f45e8;hp=aeeb676504db8f944fb90adeb9342a6cee0dcb7d;hpb=8cb8992a16319fa5ce66d73e4f5ab93691bbb8a4;p=modules%2Fshaper.git diff --git a/src/FiltersPlugin/FiltersPlugin_OnGeometry.cpp b/src/FiltersPlugin/FiltersPlugin_OnGeometry.cpp index aeeb67650..d234e4f8e 100644 --- a/src/FiltersPlugin/FiltersPlugin_OnGeometry.cpp +++ b/src/FiltersPlugin/FiltersPlugin_OnGeometry.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2022 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -35,10 +35,10 @@ bool FiltersPlugin_OnGeometry::isOk(const GeomShapePtr& theShape, const ResultPt if (!aList.get()) return false; for (int i = 0; i < aList->size(); i++) { - AttributeSelectionPtr aAttr = aList->value(i); - GeomShapePtr aGeom = aAttr->value(); + AttributeSelectionPtr aCurAttr = aList->value(i); + GeomShapePtr aGeom = aCurAttr->value(); if (!aGeom) - aGeom = aAttr->context()->shape(); + aGeom = aCurAttr->context()->shape(); if (aGeom && aGeom->isSameGeometry(theShape)) return true; }