]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_AttributeDouble.cpp
Salome HOME
Issue #1158: To use parameters in integer attributes -- Data Model
[modules/shaper.git] / src / Model / Model_AttributeDouble.cpp
index 91cebf7363bb3e18b96c3841b973795deab2bbf1..0a8566d119954485f051674eca21380c27045d1c 100644 (file)
@@ -9,7 +9,7 @@
 #include <ModelAPI_Data.h>
 #include <ModelAPI_Events.h>
 #include <ModelAPI_Expression.h>
-#include <ModelAPI_Feature.h>
+#include <ModelAPI_Object.h>
 
 Model_AttributeDouble::Model_AttributeDouble(TDF_Label& theLabel)
 {
@@ -38,7 +38,7 @@ void Model_AttributeDouble::setText(const std::string& theValue)
 {
   if (text() != theValue) {
     myExpression->setText(theValue);
-    // Send it to evaluator to convert into the double and store in the attribute
+    // Send it to evaluator to convert text to double and store in the attribute
     ModelAPI_AttributeEvalMessage::send(owner()->data()->attribute(id()), this);
     owner()->data()->sendAttributeUpdated(this);
   }