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:
authorCampbell Barton <ideasman42@gmail.com>2020-11-11 12:27:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-11 12:40:42 +0300
commit7b6d76f3875916939b833057a9933de58d7936fa (patch)
tree75d3d882888e37064ea8e234f6c3d33a84c60488
parent251b7d77b3459aefbf31193a0edfee9d2423b94b (diff)
Cleanup: correct argument order to callback
Currently the callback isn't used, found when testing a new enum callback.
-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 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;
}