[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57270] trunk/blender/source/blender/ editors/interface/interface_style.c: fix for copy/ paste error in scaling text by DPI, vertical shadow offset wasn' t working for panel text.

Campbell Barton ideasman42 at gmail.com
Thu Jun 6 22:44:48 CEST 2013


Revision: 57270
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57270
Author:   campbellbarton
Date:     2013-06-06 20:44:48 +0000 (Thu, 06 Jun 2013)
Log Message:
-----------
fix for copy/paste error in scaling text by DPI, vertical shadow offset wasn't working for panel text.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/interface/interface_style.c

Modified: trunk/blender/source/blender/editors/interface/interface_style.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_style.c	2013-06-06 20:36:28 UTC (rev 57269)
+++ trunk/blender/source/blender/editors/interface/interface_style.c	2013-06-06 20:44:48 UTC (rev 57270)
@@ -270,9 +270,9 @@
 	_style = *style;
 	
 	_style.paneltitle.shadx = (short)(UI_DPI_FAC * _style.paneltitle.shadx);
-	_style.paneltitle.shady = (short)(UI_DPI_FAC * _style.grouplabel.shady);
+	_style.paneltitle.shady = (short)(UI_DPI_FAC * _style.paneltitle.shady);
 	_style.grouplabel.shadx = (short)(UI_DPI_FAC * _style.grouplabel.shadx);
-	_style.grouplabel.shady = (short)(UI_DPI_FAC * _style.paneltitle.shady);
+	_style.grouplabel.shady = (short)(UI_DPI_FAC * _style.grouplabel.shady);
 	_style.widgetlabel.shadx = (short)(UI_DPI_FAC * _style.widgetlabel.shadx);
 	_style.widgetlabel.shady = (short)(UI_DPI_FAC * _style.widgetlabel.shady);
 	




More information about the Bf-blender-cvs mailing list