X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFiltersPlugin%2FFiltersPlugin_TopoConnectedFaces.py;h=9ac3731938b53e2c22c957318def2bf2277ff57c;hb=21b49d1cb352330d2221dbe397a1621ef9b04a01;hp=6f27040e9da26f4c6f54373cd33c92b17a88f352;hpb=cdbd7bd80d6cc3ae4f184293476b4109539b2d18;p=modules%2Fshaper.git diff --git a/src/FiltersPlugin/FiltersPlugin_TopoConnectedFaces.py b/src/FiltersPlugin/FiltersPlugin_TopoConnectedFaces.py index 6f27040e9..9ac373193 100644 --- a/src/FiltersPlugin/FiltersPlugin_TopoConnectedFaces.py +++ b/src/FiltersPlugin/FiltersPlugin_TopoConnectedFaces.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2019 CEA/DEN, EDF R&D +# Copyright (C) 2014-2021 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 @@ -48,6 +48,10 @@ class FiltersPlugin_TopoConnectedFaces(ModelAPI_Filter): """ Supported types of filtered shapes """ return theType == GeomAPI_Shape.FACE + def isMultiple(self): + """ Returns True if the filter can be used several times within one selection """ + return True + def isOk(self, theShape, theResult, theArgs): """ True if theShape is applicable for the filter """ selectedShapeAttr = modelAPI_AttributeSelection(theArgs.argument("Shape"))