LibOverride: Silence noisy warnings in console.
That one skiped the move to CLOG a few weeks ago, could spam a lot in the console in some cases.
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include <CLG_log.h>
|
||||||
|
|
||||||
#include "DNA_ID.h"
|
#include "DNA_ID.h"
|
||||||
|
|
||||||
#include "BLI_utildefines.h"
|
#include "BLI_utildefines.h"
|
||||||
@@ -132,6 +134,8 @@ const EnumPropertyItem rna_enum_property_unit_items[] = {
|
|||||||
# include "BKE_idprop.h"
|
# include "BKE_idprop.h"
|
||||||
# include "BKE_lib_override.h"
|
# include "BKE_lib_override.h"
|
||||||
|
|
||||||
|
static CLG_LogRef LOG_COMPARE_OVERRIDE = {"rna.rna_compare_override"};
|
||||||
|
|
||||||
/* Struct */
|
/* Struct */
|
||||||
|
|
||||||
static void rna_Struct_identifier_get(PointerRNA *ptr, char *value)
|
static void rna_Struct_identifier_get(PointerRNA *ptr, char *value)
|
||||||
@@ -1366,10 +1370,10 @@ static int rna_property_override_diff_propptr(Main *bmain,
|
|||||||
/* In case one of the owner of the checked property is tagged as needing resync, do
|
/* In case one of the owner of the checked property is tagged as needing resync, do
|
||||||
* not change the 'match reference' status of its ID pointer properties overrides,
|
* not change the 'match reference' status of its ID pointer properties overrides,
|
||||||
* since many non-matching ones are likely due to missing resync. */
|
* since many non-matching ones are likely due to missing resync. */
|
||||||
printf(
|
CLOG_INFO(&LOG_COMPARE_OVERRIDE,
|
||||||
"%s: Not checking matching ID pointer properties, since owner %s is tagged as "
|
4,
|
||||||
|
"Not checking matching ID pointer properties, since owner %s is tagged as "
|
||||||
"needing resync.\n",
|
"needing resync.\n",
|
||||||
__func__,
|
|
||||||
id_a->name);
|
id_a->name);
|
||||||
}
|
}
|
||||||
else if (id_a->override_library != NULL && id_a->override_library->reference == id_b) {
|
else if (id_a->override_library != NULL && id_a->override_library->reference == id_b) {
|
||||||
|
Reference in New Issue
Block a user