Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / Model / Model_ResultBody.h
index 62817a9bf08f9eaefd9eaa3f6d0da4602dfe5ddb..95cb798c8de25cfd3c44794050429c93c28eddeb 100644 (file)
@@ -51,8 +51,8 @@ public:
 
   /// Records the subshape newShape which was generated during a topological construction.
   /// As an example, consider the case of a face generated in construction of a box.
-  MODEL_EXPORT virtual void generated(const GeomShapePtr& theNewShape,
-                                      const std::string& theName) override;
+  MODEL_EXPORT virtual bool generated(const GeomShapePtr& theNewShape,
+    const std::string& theName, const bool theCheckIsInResult = true) override;
 
   /// load generated shapes
   MODEL_EXPORT