Salome HOME
Resolve batch runtime errors on debian squeeze
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Point.cpp
index 9539004b7645ed5ff075cfa952fb4f46fc82753c..7a9d66b2d6eedd161ea362b427cbc5793a21877b 100644 (file)
@@ -21,9 +21,9 @@ ConstructionPlugin_Point::ConstructionPlugin_Point()
 
 void ConstructionPlugin_Point::initAttributes()
 {
-  data()->addAttribute(POINT_ATTR_X, ModelAPI_AttributeDouble::type());
-  data()->addAttribute(POINT_ATTR_Y, ModelAPI_AttributeDouble::type());
-  data()->addAttribute(POINT_ATTR_Z, ModelAPI_AttributeDouble::type());
+  data()->addAttribute(POINT_ATTR_X, ModelAPI_AttributeDouble::typeId());
+  data()->addAttribute(POINT_ATTR_Y, ModelAPI_AttributeDouble::typeId());
+  data()->addAttribute(POINT_ATTR_Z, ModelAPI_AttributeDouble::typeId());
 }
 
 void ConstructionPlugin_Point::execute()