diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-11 12:27:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-11 12:40:42 +0300 |
commit | 7b6d76f3875916939b833057a9933de58d7936fa (patch) | |
tree | 75d3d882888e37064ea8e234f6c3d33a84c60488 /source/blender/windowmanager/intern/wm_operators.c | |
parent | 251b7d77b3459aefbf31193a0edfee9d2423b94b (diff) |
Cleanup: correct argument order to callback
Currently the callback isn't used,
found when testing a new enum callback.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 2 |
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 7b1d69e83c7..50b4f39d8e1 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -3987,7 +3987,7 @@ static const EnumPropertyItem *rna_id_itemf(bContext *UNUSED(C), int i = 0; for (; id; id = id->next) { - if ((filter_ids != NULL) && filter_ids(user_data, id) == false) { + if ((filter_ids != NULL) && filter_ids(id, user_data) == false) { i++; continue; } |