App: PropertyStandard - make developer warning only for the developer
===================================================================== Issue #11183 - The message is not useful for the user in terms of content. - The user can do nothing about it, but move on.
This commit is contained in:
committed by
abdullahtahiriyo
parent
ee7f0911ef
commit
14393bf20f
@@ -423,8 +423,9 @@ void PropertyEnumeration::Restore(Base::XMLReader &reader)
|
||||
|
||||
if (val < 0) {
|
||||
// If the enum is empty at this stage do not print a warning
|
||||
if (_enum.hasEnums())
|
||||
Base::Console().Warning("Enumeration index %d is out of range, ignore it\n", val);
|
||||
if (_enum.hasEnums()) {
|
||||
Base::Console().DeveloperWarning(std::string("PropertyEnumeration"), "Enumeration index %d is out of range, ignore it\n", val);
|
||||
}
|
||||
val = getValue();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user