From 90e354fd7a6989f6d93309a2af68b8bdb60434fc Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 9 Jan 2019 15:48:09 +0100 Subject: Revert/Redo ugly rBd12b3767f81d commit (i.e. add locked sorting option to UIList). Too many things done wrong in original rBd12b3767f81d to list them all here, hopefully nothing bad sneaked in again this time :| Also cleaned up a little the 'sort by name', even though (since we only have two options by default, sort by index and by name) we can abuse it as a binary option for now, this is not a bitflag... --- source/blender/blenkernel/BKE_screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/BKE_screen.h') diff --git a/source/blender/blenkernel/BKE_screen.h b/source/blender/blenkernel/BKE_screen.h index 75d2ed0d0bc..6b96703a344 100644 --- a/source/blender/blenkernel/BKE_screen.h +++ b/source/blender/blenkernel/BKE_screen.h @@ -238,7 +238,7 @@ typedef void (*uiListDrawItemFunc)( /* Draw the filtering part of an uiList */ typedef void (*uiListDrawFilterFunc)( - struct uiList *ui_list, struct bContext *C, struct uiLayout *layout, bool reverse); + struct uiList *ui_list, struct bContext *C, struct uiLayout *layout); /* Filter items of an uiList */ typedef void (*uiListFilterItemsFunc)( -- cgit v1.2.3