diff options
author | Hans Goudey <h.goudey@me.com> | 2020-08-19 18:37:21 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-08-19 18:37:21 +0300 |
commit | eb9055a572c391e707e6a300067740d7ad4e0197 (patch) | |
tree | 88f40e9f74b2c2314031d6a7d9819f3dd03eb55c /source/blender/editors/screen/area.c | |
parent | f61927d946c17dc0c48e311861f40f115ff36854 (diff) |
UI: Remove panel X axis closing code
Horizontal panel alignment hasn't been used for years, and we have no
plans to use it in the future. It adds a fair amount of complexity to
the panel code which makes adding features take longer.
This code removes the X closing flag, and all of the logic / variables
unused without it.
This commit includes a file subversion bump.
Differential Revision: https://developer.blender.org/D8601
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r-- | source/blender/editors/screen/area.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 5004b0132c2..425fe3fa40e 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -2592,7 +2592,7 @@ static void ed_panel_draw(const bContext *C, uiBlock *block = UI_block_begin(C, region, block_name, UI_EMBOSS); bool open; - panel = UI_panel_begin(area, region, lb, block, pt, panel, &open); + panel = UI_panel_begin(region, lb, block, pt, panel, &open); /* bad fixed values */ int xco, yco, h = 0; @@ -2708,7 +2708,7 @@ static void ed_panel_draw(const bContext *C, } } - UI_panel_end(area, region, block, w, h, open); + UI_panel_end(region, block, w, h, open); } /** |