Salome HOME
Issue #3047: Rollback modifications dedicated to property panel performance
[modules/shaper.git] / src / Model / Model_FeatureValidator.cpp
index aa05113a834f7bd5e395ec2b56747ca7feffc528..2db766fc6523b6a5155021c3e9533597291a08bc 100644 (file)
@@ -59,6 +59,7 @@ bool Model_FeatureValidator::isValid(const std::shared_ptr<ModelAPI_Feature>& th
           aFeatureFind->second.find(*it) == aFeatureFind->second.end()) {
         theError = "Attribute \"%1\" is not initialized.";
         theError.addParameter(anAttr->id());
+        theError.setContext(theFeature->getKind() + ":" + anAttr->id());
         return false;
       }
     }