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>2013-12-17 12:16:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-17 12:16:44 +0400
commite68144aed71497015384ab1a1504667a36fde330 (patch)
treeb8a0d34340ce9fcb93e4a068e5052dcfe4b5cb36 /source/blender/editors/screen
parent5036ac6903da222c68aac76bee49006d7e6724c1 (diff)
Fix for crash in toolbar tabs with only one tab defined
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/area.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 7b758122ac1..2fd3423b7e7 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -1671,7 +1671,7 @@ void ED_region_panels(const bContext *C, ARegion *ar, int vertical, const char *
panel = uiPanelFindByType(ar, pt);
- if (pt->category[0] && !STREQ(category, pt->category)) {
+ if (use_category_tabs && pt->category[0] && !STREQ(category, pt->category)) {
if ((panel == NULL) || ((panel->flag & PNL_PIN) == 0)) {
continue;
}