Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2017-01-31 11:47:59 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-01-31 11:47:59 +0300
commit60e387f5e3ae41c4b1e507f5aa4d8673a9f8765f (patch)
treec891c9cd13e5f9b6260ad6d54ce8aba65b1ed801 /source/blender/blenkernel/intern/library.c
parenta928a9c1e199923090a6ea070332fb8003646590 (diff)
Cleanup: Rename callback flags from library_query to `IDWALK_CB_...`
Better to have clear way to tell whether flag is parameter for BKE_library_foreach_ID_link(), parameter for its callback function, or return value from this callback function.
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r--source/blender/blenkernel/intern/library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index daa8c6f5e5c..7350e014d43 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -276,7 +276,7 @@ void BKE_id_clear_newpoin(ID *id)
static int id_expand_local_callback(
void *UNUSED(user_data), struct ID *id_self, struct ID **id_pointer, int cd_flag)
{
- if (cd_flag & IDWALK_PRIVATE) {
+ if (cd_flag & IDWALK_CB_PRIVATE) {
return IDWALK_RET_NOP;
}