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/windowmanager/intern
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/windowmanager/intern')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 682f4dc3b23..a3f403e0bb3 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -3912,7 +3912,7 @@ static void previews_id_ensure(bContext *C, Scene *scene, ID *id)
static int previews_id_ensure_callback(void *userdata, ID *UNUSED(self_id), ID **idptr, int cd_flag)
{
- if (cd_flag & IDWALK_PRIVATE) {
+ if (cd_flag & IDWALK_CB_PRIVATE) {
return IDWALK_RET_NOP;
}