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>2019-09-04 20:16:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-04 20:25:55 +0300
commit1715d09d7c9506ed77af69571ab739a48a972514 (patch)
treec45f7b1d4c5efd75ecd7d9f37e9383488da70502 /source/blender/editors/space_userpref
parent933725ab4643ea9de268ca3be434f2ec0a797aff (diff)
Cleanup: userpref UI options into their own struct
Mixing options for showing preferences with other flags was confusing.
Diffstat (limited to 'source/blender/editors/space_userpref')
-rw-r--r--source/blender/editors/space_userpref/space_userpref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_userpref/space_userpref.c b/source/blender/editors/space_userpref/space_userpref.c
index 4c6f2231cc1..a42ab048907 100644
--- a/source/blender/editors/space_userpref/space_userpref.c
+++ b/source/blender/editors/space_userpref/space_userpref.c
@@ -121,7 +121,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_ex(C, ar, NULL, U.userpref, true);
+ ED_region_panels_ex(C, ar, NULL, U.space_data.section_active, true);
}
static void userpref_operatortypes(void)