]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FiltersPlugin/FiltersPlugin_OnPlane.h
Salome HOME
Issue #3141 implementation : Allow usage of the same filters many times
[modules/shaper.git] / src / FiltersPlugin / FiltersPlugin_OnPlane.h
index 62fccd1fc7bb4f56b8dee528054ef5eb20b3a9bf..94c0914894714cc9095c5fc656c00cda468221dd 100644 (file)
@@ -41,6 +41,9 @@ public:
   /// Returns true for any type because it supports all selection types
   virtual bool isSupported(GeomAPI_Shape::ShapeType theType) const override;
 
+  /// Returns True if the filter can be used several times within one selection
+  virtual bool isMultiple() const { return true; }
+
   /// This method should contain the filter logic. It returns true if the given shape
   /// is accepted by the filter.
   /// \param theShape the given shape