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:
authorHans Goudey <h.goudey@me.com>2020-08-20 01:05:03 +0300
committerHans Goudey <h.goudey@me.com>2020-08-20 01:05:03 +0300
commit50b435cbaaa0fb44ddd7f2d9abd9e28ff07c86fe (patch)
treec8ae4d234dddb77603bbf1f1216b33aac5cbb5bd /source/blender/editors/screen/area.c
parent4f6051e8c4664a3e0efdc14de26f4e9e0ff873fd (diff)
Cleanup: Remove unused variable
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 425fe3fa40e..eed4370ee37 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -2569,7 +2569,6 @@ BLI_INLINE bool streq_array_any(const char *s, const char *arr[])
* correct old \a uiBlock, and NULL otherwise.
*/
static void ed_panel_draw(const bContext *C,
- ScrArea *area,
ARegion *region,
ListBase *lb,
PanelType *pt,
@@ -2694,16 +2693,8 @@ static void ed_panel_draw(const bContext *C,
Panel *child_panel = UI_panel_find_by_type(&panel->children, child_pt);
if (child_pt->draw && (!child_pt->poll || child_pt->poll(C, child_pt))) {
- ed_panel_draw(C,
- area,
- region,
- &panel->children,
- child_pt,
- child_panel,
- w,
- em,
- vertical,
- unique_panel_str);
+ ed_panel_draw(
+ C, region, &panel->children, child_pt, child_panel, w, em, vertical, unique_panel_str);
}
}
}
@@ -2855,7 +2846,6 @@ void ED_region_panels_layout_ex(const bContext *C,
}
ed_panel_draw(C,
- area,
region,
&region->panels,
pt,
@@ -2890,7 +2880,6 @@ void ED_region_panels_layout_ex(const bContext *C,
char unique_panel_str[8];
UI_list_panel_unique_str(panel, unique_panel_str);
ed_panel_draw(C,
- area,
region,
&region->panels,
panel->type,