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.
This commit is contained in:
Severin 2018-12-29 19:06:06 +01:00
parent 07569a333b
commit 266b1e2cdb
Notes: blender-bot 2023-02-14 09:29:42 +01:00
Referenced by issue #59997, Unbaked Dynamic Paint Not Displayed in Rendered Output but Shows in Viewport
Referenced by issue #59993, Blender segfault after switching to the material tab with a model imported from a GLTF file
Referenced by issue #59979, Alpha textures Always Behind Grease Pencils
Referenced by issue #51214, Dynamic Paint Works Only in Viewport Render
1 changed files with 1 additions and 1 deletions

View File

@ -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)