[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48419] branches/soc-2012-swiss_cheese/ source/blender/editors/space_view3d/view3d_draw.c: Fix color of grid axes in the 3D view
Nicholas Bishop
nicholasbishop at gmail.com
Sat Jun 30 01:02:07 CEST 2012
Revision: 48419
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48419
Author: nicholasbishop
Date: 2012-06-29 23:02:00 +0000 (Fri, 29 Jun 2012)
Log Message:
-----------
Fix color of grid axes in the 3D view
Replace gpuImmediateFormat_V3 with gpuImmediateFormat_C4_V3.
Modified Paths:
--------------
branches/soc-2012-swiss_cheese/source/blender/editors/space_view3d/view3d_draw.c
Modified: branches/soc-2012-swiss_cheese/source/blender/editors/space_view3d/view3d_draw.c
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/editors/space_view3d/view3d_draw.c 2012-06-29 22:40:14 UTC (rev 48418)
+++ branches/soc-2012-swiss_cheese/source/blender/editors/space_view3d/view3d_draw.c 2012-06-29 23:02:00 UTC (rev 48419)
@@ -516,7 +516,7 @@
if (v3d->gridflag & (V3D_SHOW_X | V3D_SHOW_Y | V3D_SHOW_Z)) {
int axis;
- gpuImmediateFormat_V3();
+ gpuImmediateFormat_C4_V3();
gpuBegin(GL_LINES);
for (axis = 0; axis < 3; axis++) {
More information about the Bf-blender-cvs
mailing list