From 85ca97b243e9327e9e28716059756f41a4ab04d6 Mon Sep 17 00:00:00 2001 From: dbv Date: Wed, 27 Apr 2016 16:50:01 +0300 Subject: [PATCH] Issue #1463: Updated validator message --- src/FeaturesPlugin/FeaturesPlugin_Validators.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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