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>2018-06-12 19:38:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-12 19:39:18 +0300
commite65d20e7dc37d84262dfe39fb5804859e6ef39f6 (patch)
treec60c0d7704be062ca3e43eeea45625f9da6a485f /source/blender/editors/screen
parent9b9b943e0c7fb5c921a54521c4a7c55f7a7f22ba (diff)
Cleanup: add ED_region_panels_layout
Only had the '_ex' (extended) version.
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/area.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 6f2c443f16b..b438b760e40 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -2121,6 +2121,10 @@ void ED_region_panels_layout_ex(
ar->runtime.category = category;
}
}
+void ED_region_panels_layout(const bContext *C, ARegion *ar)
+{
+ ED_region_panels_layout_ex(C, ar, NULL, -1, true);
+}
void ED_region_panels_draw(const bContext *C, ARegion *ar)
{
@@ -2166,7 +2170,7 @@ void ED_region_panels_ex(
void ED_region_panels(const bContext *C, ARegion *ar)
{
/* TODO: remove? */
- ED_region_panels_layout_ex(C, ar, NULL, -1, true);
+ ED_region_panels_layout(C, ar);
ED_region_panels_draw(C, ar);
}