Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/idprop.c
| Context not available. | |||||
| #include "BKE_idprop.h" | #include "BKE_idprop.h" | ||||
| #include "BKE_library.h" | #include "BKE_library.h" | ||||
| #include "CLG_log.h" | |||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "BLI_strict_flags.h" | #include "BLI_strict_flags.h" | ||||
| Context not available. | |||||
| */ | */ | ||||
| #define IDP_ARRAY_REALLOC_LIMIT 200 | #define IDP_ARRAY_REALLOC_LIMIT 200 | ||||
| static CLG_LogRef LOG = { "bke.idprop" }; | |||||
| /*local size table.*/ | /*local size table.*/ | ||||
| static size_t idp_size_table[] = { | static size_t idp_size_table[] = { | ||||
| 1, /*strings*/ | 1, /*strings*/ | ||||
| Context not available. | |||||
| prop->len = prop->totallen = val->array.len; | prop->len = prop->totallen = val->array.len; | ||||
| break; | break; | ||||
| } | } | ||||
| printf("%s: bad array type.\n", __func__); | CLOG_ERROR(&LOG, "bad array type."); | ||||
| return NULL; | return NULL; | ||||
| } | } | ||||
| case IDP_STRING: | case IDP_STRING: | ||||
| Context not available. | |||||