]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_CompositeFeature.h
Salome HOME
Fixes for crashes and bad behavior on delete of features and Parts. For now delete...
[modules/shaper.git] / src / ModelAPI / ModelAPI_CompositeFeature.h
index bc31a21eb80cc57f014b44c3e9478cf2843aaf4d..ab58f092f4610f8f23f5f38c03ceae308f79a896 100644 (file)
@@ -43,6 +43,9 @@ public:
   /// Exchanges IDs of two given features: needed for more correct naming in some cases (issue 769)
   MODELAPI_EXPORT virtual void exchangeIDs(std::shared_ptr<ModelAPI_Feature> theFeature1,
     std::shared_ptr<ModelAPI_Feature> theFeature2);
+
+  /// in addition removes all subs
+  MODELAPI_EXPORT virtual void erase();
 };
 
 //! Pointer on the composite feature object