X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_ShapeValidator.cpp;h=fb03f459fbacc878155c6b552d2a9c37d3f0898f;hb=5ee0ac732ede71b1a7784be6870c5f21f6782565;hp=0ef625cd74f04ea4831d65016c0857947b64c292;hpb=a355e529b59bbfb99e67b3179f7dc987e45116c2;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_ShapeValidator.cpp b/src/ModelAPI/ModelAPI_ShapeValidator.cpp index 0ef625cd7..fb03f459f 100644 --- a/src/ModelAPI/ModelAPI_ShapeValidator.cpp +++ b/src/ModelAPI/ModelAPI_ShapeValidator.cpp @@ -20,7 +20,7 @@ bool ModelAPI_ShapeValidator::isValid(const AttributePtr& theAttribute, std::string aCurrentAttributeId = theAttribute->id(); // get all feature attributes std::list anAttrs = - aFeature->data()->attributes(ModelAPI_AttributeSelection::type()); + aFeature->data()->attributes(ModelAPI_AttributeSelection::typeId()); if (anAttrs.size() > 0 && aShape.get() != NULL) { std::list::iterator anAttr = anAttrs.begin(); for(; anAttr != anAttrs.end(); anAttr++) {