+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: GeomData_Point2D.cxx
// Created: 24 Apr 2014
// Author: Mikhail PONIKAROV
void GeomData_Point2D::setValue(const double theX, const double theY)
{
- if (myCoords->Value(0) != theX || myCoords->Value(1) != theY) {
+ if (!myIsInitialized || myCoords->Value(0) != theX || myCoords->Value(1) != theY) {
myCoords->SetValue(0, theX);
myCoords->SetValue(1, theY);
owner()->data()->sendAttributeUpdated(this);