Cleanup: use 'cb_flag', not 'cd_flag' for library_query callbacks.

`cd_flag` tends to be used for CustomData flags in mesh area, while for
library_query those are rather callback flags...
This commit is contained in:
2017-01-31 10:41:25 +01:00
parent 60e387f5e3
commit b5682a6fdd
14 changed files with 57 additions and 57 deletions

View File

@@ -3910,9 +3910,9 @@ 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)
static int previews_id_ensure_callback(void *userdata, ID *UNUSED(self_id), ID **idptr, int cb_flag)
{
if (cd_flag & IDWALK_CB_PRIVATE) {
if (cb_flag & IDWALK_CB_PRIVATE) {
return IDWALK_RET_NOP;
}