Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix of crash on feature in new part creation
[modules/shaper.git]
/
src
/
Model
/
Model_Data.h
diff --git
a/src/Model/Model_Data.h
b/src/Model/Model_Data.h
index 93de6977de7bb6cd633575d623c99ecb60a3d36f..4e96a5be5c65e126cc2352ca2fc2f07e72904e44 100644
(file)
--- a/
src/Model/Model_Data.h
+++ b/
src/Model/Model_Data.h
@@
-163,7
+163,10
@@
class Model_Data : public ModelAPI_Data
MODEL_EXPORT virtual ModelAPI_ExecState execState();
/// Registers error during the execution, causes the ExecutionFailed state
MODEL_EXPORT virtual ModelAPI_ExecState execState();
/// Registers error during the execution, causes the ExecutionFailed state
- MODEL_EXPORT virtual void setError(const std::string& theError);
+ MODEL_EXPORT virtual void setError(const std::string& theError, bool theSend = true);
+
+ /// Registers error during the execution, causes the ExecutionFailed state
+ MODEL_EXPORT virtual std::string error() const;
/// Returns the identifier of feature-owner, unique in this document
MODEL_EXPORT virtual int featureId() const;
/// Returns the identifier of feature-owner, unique in this document
MODEL_EXPORT virtual int featureId() const;