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
Issue #1739: Naming on faces not correct
[modules/shaper.git]
/
src
/
Model
/
Model_AttributeDouble.h
diff --git
a/src/Model/Model_AttributeDouble.h
b/src/Model/Model_AttributeDouble.h
index 390cc66bc7bfcbe0824bb75ad9212d9c9850a48a..883b9b545c81c5d298cdb13c2e3c6c8223f86f73 100644
(file)
--- a/
src/Model/Model_AttributeDouble.h
+++ b/
src/Model/Model_AttributeDouble.h
@@
-12,7
+12,7
@@
#include <TDF_Label.hxx>
#include <TDF_Label.hxx>
-class ModelAPI_Expression;
+class ModelAPI_Expression
Double
;
/**\class Model_AttributeDouble
* \ingroup DataModel
/**\class Model_AttributeDouble
* \ingroup DataModel
@@
-21,7
+21,7
@@
class ModelAPI_Expression;
class Model_AttributeDouble : public ModelAPI_AttributeDouble
{
class Model_AttributeDouble : public ModelAPI_AttributeDouble
{
- std::shared_ptr<ModelAPI_Expression> myExpression;
+ std::shared_ptr<ModelAPI_Expression
Double
> myExpression;
public:
/// Defines the double value
public:
/// Defines the double value
@@
-60,6
+60,8
@@
class Model_AttributeDouble : public ModelAPI_AttributeDouble
protected:
/// Initializes attributes
Model_AttributeDouble(TDF_Label& theLabel);
protected:
/// Initializes attributes
Model_AttributeDouble(TDF_Label& theLabel);
+ /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc)
+ virtual void reinit();
friend class Model_Data;
};
friend class Model_Data;
};