X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_FeatureValidator.cpp;h=c8a204e29db52dda1f1d4f613b37392c24bd87e8;hb=7fca439ab3557d95daaa0cd72a29ecaa8a3802cc;hp=06923d32449fc6579c0b66fbae1df529abef5cee;hpb=7e9e955376b504dc7d9e0a5e79a9a38943a53fcd;p=modules%2Fshaper.git diff --git a/src/Model/Model_FeatureValidator.cpp b/src/Model/Model_FeatureValidator.cpp index 06923d324..c8a204e29 100644 --- a/src/Model/Model_FeatureValidator.cpp +++ b/src/Model/Model_FeatureValidator.cpp @@ -44,7 +44,9 @@ bool Model_FeatureValidator::isValid(const std::shared_ptr& th myNotObligatory.find(theFeature->getKind()); if (aFeatureFind == myNotObligatory.end() || // and it is obligatory for filling aFeatureFind->second.find(*it) == aFeatureFind->second.end()) { + // TODO(spo): exceptional case for translation theError = "Attribute \"" + anAttr->id() + "\" is not initialized."; +// theError.arg(anAttr->id()); return false; } }