BKE: ID namemap: always report warning when checking integrity of the namemap.
Using `CLOG_INFO` and then reporting critical error is not very coherent, nor practical, since INFO messages are not even displayed by default in the console.
This commit is contained in:
@@ -534,9 +534,8 @@ static bool main_namemap_validate_and_fix(Main *bmain, const bool do_fix)
|
||||
if (!type_map->full_names.contains(key_namemap)) {
|
||||
is_valid = false;
|
||||
if (do_fix) {
|
||||
CLOG_INFO(
|
||||
CLOG_WARN(
|
||||
&LOG,
|
||||
3,
|
||||
"ID name '%s' (from library '%s') exists in current Main, but is not listed in "
|
||||
"the namemap",
|
||||
id_iter->name,
|
||||
@@ -573,9 +572,8 @@ static bool main_namemap_validate_and_fix(Main *bmain, const bool do_fix)
|
||||
if (!id_names_libs.contains(key)) {
|
||||
is_valid = false;
|
||||
if (do_fix) {
|
||||
CLOG_INFO(
|
||||
CLOG_WARN(
|
||||
&LOG,
|
||||
3,
|
||||
"ID name '%s' (from library '%s') is listed in the namemap, but does not "
|
||||
"exists in current Main",
|
||||
key.name,
|
||||
|
||||
Reference in New Issue
Block a user