]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ConstructionPlugin/ConstructionPlugin_Axis.cpp
Salome HOME
Resolve batch runtime errors on debian squeeze
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Axis.cpp
index f0e45a5bf0bb9bc8cedc988e6cc0a6612ec6ca6b..78de925dcae942f6780ebc1806b97a7069286a5b 100644 (file)
@@ -23,8 +23,8 @@ ConstructionPlugin_Axis::ConstructionPlugin_Axis()
 
 void ConstructionPlugin_Axis::initAttributes()
 {
-  data()->addAttribute(POINT_ATTR_FIRST,  ModelAPI_AttributeSelection::type());
-  data()->addAttribute(POINT_ATTR_SECOND, ModelAPI_AttributeSelection::type());
+  data()->addAttribute(POINT_ATTR_FIRST,  ModelAPI_AttributeSelection::typeId());
+  data()->addAttribute(POINT_ATTR_SECOND, ModelAPI_AttributeSelection::typeId());
 }
 
 void ConstructionPlugin_Axis::execute()