X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ExternalValidator.cpp;h=362dd94f17ab09068ada469ed648c244b79ec54f;hb=40f3b736db0100d3793d72f22aecf23fb21cbe1b;hp=3302e4c1e0368fccf34068b6f6fb1c60474dbf0c;hpb=4ca3fd41634c37f840d0cbb3f896fa97c2d3c457;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ExternalValidator.cpp b/src/SketchPlugin/SketchPlugin_ExternalValidator.cpp index 3302e4c1e..362dd94f1 100644 --- a/src/SketchPlugin/SketchPlugin_ExternalValidator.cpp +++ b/src/SketchPlugin/SketchPlugin_ExternalValidator.cpp @@ -28,8 +28,10 @@ bool SketchPlugin_ExternalValidator::isValid(const AttributePtr& theAttribute, bool isParameterExternal = isExternalAttribute(aFeature->attribute(aFrontArgument)); // it is not possible that both features, attribute and attribute in parameter, are external - if (isAttributeExternal && isParameterExternal) + if (isAttributeExternal && isParameterExternal) { + theError = "Both features, attribute and attribute in parameter, are external."; return false; + } return true; }