[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33813] trunk/blender/source/blender/ editors/space_view3d/view3d_draw.c: 3D ortho view: the axes lines of grid had wrong color for X.

Ton Roosendaal ton at blender.org
Mon Dec 20 14:32:27 CET 2010


Revision: 33813
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33813
Author:   ton
Date:     2010-12-20 14:32:26 +0100 (Mon, 20 Dec 2010)

Log Message:
-----------
3D ortho view: the axes lines of grid had wrong color for X.
Thanks Mario Kishalmi for the report :)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_view3d/view3d_draw.c

Modified: trunk/blender/source/blender/editors/space_view3d/view3d_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/view3d_draw.c	2010-12-20 13:03:03 UTC (rev 33812)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_draw.c	2010-12-20 13:32:26 UTC (rev 33813)
@@ -397,13 +397,15 @@
 	setlinestyle(0);
 	
 	/* center cross */
+	/* horizontal line */
 	if( ELEM(rv3d->view, RV3D_VIEW_RIGHT, RV3D_VIEW_LEFT)) 
 		UI_make_axis_color(col, col2, 'Y');
-	else UI_make_axis_color(col, col2, 'Z');
+	else UI_make_axis_color(col, col2, 'X');
 	glColor3ubv(col2);
 	
 	fdrawline(0.0,  y,  (float)ar->winx,  y); 
 	
+	/* vertical line */
 	if( ELEM(rv3d->view, RV3D_VIEW_TOP, RV3D_VIEW_BOTTOM)) 
 		UI_make_axis_color(col, col2, 'Y');
 	else UI_make_axis_color(col, col2, 'Z');





More information about the Bf-blender-cvs mailing list