Commit: 0f302316864abea1a97c6f48c088aebfbebd34e1
Author: Jonathan Williamson
Date:   Mon Jan 13 20:35:35 2014 -0600
https://developer.blender.org/rB0f302316864abea1a97c6f48c088aebfbebd34e1

Missed a comment on last commit.

This was missed in the previous commit. Adding back for future readability. 
Thanks @campbellbarton for spotting it.

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

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 1213598..541f6fa 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -1407,7 +1407,7 @@ void UI_panel_category_draw_all(ARegion *ar, const char 
*category_id_active)
 #endif
        float scaletabs = 1.0f;
        /* same for all tabs */
-       const int rct_xmin = v2d->mask.xmin + 3;
+       const int rct_xmin = v2d->mask.xmin + 3;  /* intentionally dont scale 
by 'px' */
        const int rct_xmax = v2d->mask.xmin + category_tabs_width;
        const int text_v_ofs = (rct_xmax - rct_xmin) * 0.3f;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to