[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53579] trunk/blender/source/blender/ editors/space_view3d/view3d_draw.c: revert r53570, alpha background is useful for projection paint 'Quick Edit',

Campbell Barton ideasman42 at gmail.com
Sat Jan 5 11:26:38 CET 2013


Revision: 53579
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53579
Author:   campbellbarton
Date:     2013-01-05 10:26:33 +0000 (Sat, 05 Jan 2013)
Log Message:
-----------
revert r53570, alpha background is useful for projection paint 'Quick Edit',
it would also give odd results drawing semi transparent faces will give partial alpha which is strange to have with solid backdrop.

Revision Links:
--------------
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53570

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	2013-01-05 09:57:35 UTC (rev 53578)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_draw.c	2013-01-05 10:26:33 UTC (rev 53579)
@@ -2596,11 +2596,10 @@
 			linearrgb_to_srgb_v3_v3(backcol, &scene->world->horr);
 		}
 
-		glClearColor(backcol[0], backcol[1], backcol[2], 1.0f);
+		glClearColor(backcol[0], backcol[1], backcol[2], 0.0f);
 	}
 	else {
-		UI_GetThemeColor3fv(TH_BACK, backcol);
-		glClearColor(backcol[0], backcol[1], backcol[2], 1.0f);
+		 UI_ThemeClearColor(TH_BACK);
 	}
 
 




More information about the Bf-blender-cvs mailing list