From: dbv Date: Wed, 27 Apr 2016 13:50:01 +0000 (+0300) Subject: Issue #1463: Updated validator message X-Git-Tag: V_2.3.0~89 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=85ca97b243e9327e9e28716059756f41a4ab04d6;p=modules%2Fshaper.git Issue #1463: Updated validator message --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_Validators.cpp b/src/FeaturesPlugin/FeaturesPlugin_Validators.cpp index 3458bb7e8..181e6f009 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Validators.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Validators.cpp @@ -253,7 +253,8 @@ bool FeaturesPlugin_ValidatorCanBeEmpty::isValid(const std::shared_ptrcontext(); if(!aContext.get()) { - theError = "Selection attribute \"" + *anArgsIt + "\" can not be empty."; + theError = "Base objects list contains vertex or edge, so attribute \"" + *anArgsIt + + "\" can not be used with default value. Select direction for extrusion."; return false; } @@ -261,7 +262,8 @@ bool FeaturesPlugin_ValidatorCanBeEmpty::isValid(const std::shared_ptr