X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_ResultBody.h;h=ad5846e0f10a84927141a7b1f729b954c35d2bad;hb=1cef78af4c4328ecf99a3ced86bda38e6e82e15c;hp=a09c80638c103c6b72a69e294f407dae8f69bddf;hpb=cbde248859fb0072f6012907391ea90cfc254574;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_ResultBody.h b/src/ModelAPI/ModelAPI_ResultBody.h index a09c80638..ad5846e0f 100644 --- a/src/ModelAPI/ModelAPI_ResultBody.h +++ b/src/ModelAPI/ModelAPI_ResultBody.h @@ -44,8 +44,11 @@ public: return RESULT_BODY_COLOR; } - /// Stores the shape (called by the execution method). - MODELAPI_EXPORT virtual void store(const std::shared_ptr& theShape); + /// \brief Stores the shape (called by the execution method). + /// param[in] theShape shape to store. + /// param[in] theIsStoreSameShapes if false stores reference to the same shape if it is already in document. + MODELAPI_EXPORT virtual void store(const std::shared_ptr& theShape, + const bool theIsStoreSameShapes = true); /// Stores the generated shape (called by the execution method). MODELAPI_EXPORT virtual void storeGenerated(const std::shared_ptr& theFromShape,