Salome HOME
Optimization and minor fix of the Filter By Neighbors algorithm.
[modules/shaper.git] / src / Model / Model_AttributeSelectionList.h
index d84ca1ff4187b766745b8e7262242aa73e6ec8df..7df121d2244b8c095f5c31ef0364d13f9a64bdb5 100644 (file)
@@ -122,7 +122,12 @@ protected:
   /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc)
   virtual void reinit();
 
+  /// Tries to merge attributes in this list with the same result shape. Returns true
+  /// if theStart matches with some later attribute and theStart is removed from the list.
+  bool merge(Model_AttributeSelection* theStart);
+
   friend class Model_Data;
+  friend class Model_AttributeSelection;
 };
 
 #endif