Salome HOME
Fix for import/export features
[modules/shaper.git] / src / GeomData / GeomData_Point.cpp
index e76498c00db8fbfcd830d8bfa98fbc7f918685f6..7ae96b859bb5ddf46a17392e669e785868ff625a 100644 (file)
@@ -8,6 +8,7 @@
 #include <GeomAPI_Pnt.h>
 #include <ModelAPI_Feature.h>
 #include <ModelAPI_Data.h>
+#include <ModelAPI_Events.h>
 
 using namespace std;
 
@@ -65,6 +66,8 @@ void GeomData_Point::setText(const std::string& theX,
     myTextArray->SetValue(1, aY);
     myTextArray->SetValue(2, aZ);
     owner()->data()->sendAttributeUpdated(this);
+    // Send it to evaluator to convert into the double and store in the attribute
+    ModelAPI_AttributeEvalMessage::send(owner()->data()->attribute(id()), this);
   }
 }