diff options
Diffstat (limited to 'source/blender/blenkernel/intern/idprop.c')
-rw-r--r-- | source/blender/blenkernel/intern/idprop.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c index 4d6c43c34e0..eacc30aa768 100644 --- a/source/blender/blenkernel/intern/idprop.c +++ b/source/blender/blenkernel/intern/idprop.c @@ -40,6 +40,8 @@ #include "BKE_idprop.h" #include "BKE_library.h" +#include "CLG_log.h" + #include "MEM_guardedalloc.h" #include "BLI_strict_flags.h" @@ -52,6 +54,8 @@ */ #define IDP_ARRAY_REALLOC_LIMIT 200 +static CLG_LogRef LOG = {"bke.idprop"}; + /*local size table.*/ static size_t idp_size_table[] = { 1, /*strings*/ @@ -986,7 +990,7 @@ IDProperty *IDP_New(const char type, const IDPropertyTemplate *val, const char * prop->len = prop->totallen = val->array.len; break; } - printf("%s: bad array type.\n", __func__); + CLOG_ERROR(&LOG, "bad array type."); return NULL; } case IDP_STRING: |