diff options
author | Hans Goudey <h.goudey@me.com> | 2020-08-20 01:55:04 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-08-20 01:55:04 +0300 |
commit | 940b239ad47385d121d7864ea99c27eddb8df9fc (patch) | |
tree | cb040cc15c79237db3dc384465ddce7197bfe836 /source/blender/editors/space_userpref | |
parent | 50b435cbaaa0fb44ddd7f2d9abd9e28ff07c86fe (diff) |
Cleanup: Remove unused variables for horizontal panels
Continuing the work of eb9055a572c3, remove remaining unecessary
variables and arguments that were related tabbing and horizontal
alignment of panels. For example, "vertical" was always true, and
removing that exposed other unused variables.
Diffstat (limited to 'source/blender/editors/space_userpref')
-rw-r--r-- | source/blender/editors/space_userpref/space_userpref.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_userpref/space_userpref.c b/source/blender/editors/space_userpref/space_userpref.c index 0242bb4fe24..3efdee9cec9 100644 --- a/source/blender/editors/space_userpref/space_userpref.c +++ b/source/blender/editors/space_userpref/space_userpref.c @@ -141,8 +141,7 @@ static void userpref_main_region_layout(const bContext *C, ARegion *region) BLI_str_tolower_ascii(id_lower, strlen(id_lower)); } - ED_region_panels_layout_ex( - C, region, ®ion->type->paneltypes, contexts, U.space_data.section_active, true, NULL); + ED_region_panels_layout_ex(C, region, ®ion->type->paneltypes, contexts, NULL); } static void userpref_operatortypes(void) |