Salome HOME
Center presentation validation: check interactive object on NULL
[modules/shaper.git] / src / InitializationPlugin / InitializationPlugin_Plugin.cpp
index 0d10a4b15f9e50c6deff99df5c896fc929e13129..5d4781494052ee0537e05832c291c8482f9b5397 100644 (file)
@@ -141,6 +141,7 @@ FeaturePtr InitializationPlugin_Plugin::createPoint(DocumentPtr theDoc, const st
   aPoint->real("x")->setValue(theX);
   aPoint->real("y")->setValue(theY);
   aPoint->real("z")->setValue(theZ);
+  aPoint->string("creation_method")->setValue("by_xyz");
   aPoint->data()->setName(theName);
   // don't show automatically created feature in the features history
   aPoint->setInHistory(aPoint, false);