[Bf-blender-cvs] [e40d825] master: Tabname should be fixed here as well.

Antony Riakiotakis noreply at git.blender.org
Wed Aug 27 10:36:17 CEST 2014


Commit: e40d8258bb46926a1aecf51236822532397993f3
Author: Antony Riakiotakis
Date:   Wed Aug 27 10:36:04 2014 +0200
Branches: master
https://developer.blender.org/rBe40d8258bb46926a1aecf51236822532397993f3

Tabname should be fixed here as well.

===================================================================

M	source/blender/editors/interface/interface_panel.c

===================================================================

diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index c957ba5..50a1900 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -227,7 +227,7 @@ Panel *uiBeginPanel(ScrArea *sa, ARegion *ar, uiBlock *block, PanelType *pt, Pan
 	Panel *patab, *palast, *panext;
 	const char *drawname = CTX_IFACE_(pt->translation_context, pt->label);
 	const char *idname = pt->idname;
-	const char *tabname = pt->idname;
+	const char *tabname = pt->category;
 	const char *hookname = NULL;
 	const bool newpanel = (pa == NULL);
 	int align = panel_aligned(sa, ar);




More information about the Bf-blender-cvs mailing list