]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ConstructionPlugin/ConstructionPlugin_Plane.cpp
Salome HOME
Resolve batch runtime errors on debian squeeze
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Plane.cpp
index 5475402437a3a707cf5e5dbb3ef90dc55be4f413..07d3d24bc65fa7725ccd7a870ea21d477dcd0314 100644 (file)
@@ -22,8 +22,8 @@ ConstructionPlugin_Plane::ConstructionPlugin_Plane()
 
 void ConstructionPlugin_Plane::initAttributes()
 {
-  data()->addAttribute(FACE_ATTR,  ModelAPI_AttributeSelection::type());
-  data()->addAttribute(DISTANCE_ATTR, ModelAPI_AttributeDouble::type());
+  data()->addAttribute(FACE_ATTR,  ModelAPI_AttributeSelection::typeId());
+  data()->addAttribute(DISTANCE_ATTR, ModelAPI_AttributeDouble::typeId());
 }
 
 void ConstructionPlugin_Plane::execute()