[Bf-blender-cvs] [266b1e2cdbc] master: Fix: Scrolling Preferences could cause blank UI
Severin
noreply at git.blender.org
Sat Dec 29 19:12:06 CET 2018
Commit: 266b1e2cdbc19466ac452cc3cb08273d6f37b341
Author: Severin
Date: Sat Dec 29 19:06:06 2018 +0100
Branches: master
https://developer.blender.org/rB266b1e2cdbc19466ac452cc3cb08273d6f37b341
Fix: Scrolling Preferences could cause blank UI
Steps to reproduce were:
* Open Preferences
* Choose "Input" category
* Scroll to the bottom
* Choose "Interface" category
The newly activated category should now use the scrolling set previously
in the other category, causing the contents to be out of view. You
would have to scroll to bring it back.
Now scrolling is stored per category.
===================================================================
M source/blender/editors/space_userpref/space_userpref.c
===================================================================
diff --git a/source/blender/editors/space_userpref/space_userpref.c b/source/blender/editors/space_userpref/space_userpref.c
index 9a876f9d925..a0a263cb5de 100644
--- a/source/blender/editors/space_userpref/space_userpref.c
+++ b/source/blender/editors/space_userpref/space_userpref.c
@@ -123,7 +123,7 @@ static void userpref_main_region_init(wmWindowManager *wm, ARegion *ar)
static void userpref_main_region_draw(const bContext *C, ARegion *ar)
{
- ED_region_panels(C, ar);
+ ED_region_panels_ex(C, ar, NULL, U.userpref, true);
}
static void userpref_operatortypes(void)
More information about the Bf-blender-cvs
mailing list