Hi all,

recent patch #32898 changed the background from Trans to Opacity but did 
not change the actual draw function which was set up to take 
transparancy 0-1 values, Thus background image was shown when Opacity = 
0 rather than when = 1.

Mike.

Index: source/blender/editors/space_view3d/view3d_draw.c
===================================================================
--- source/blender/editors/space_view3d/view3d_draw.c   (revision 32906)
+++ source/blender/editors/space_view3d/view3d_draw.c   (working copy)
@@ -1340,7 +1340,7 @@
                        ED_region_pixelspace(ar);

                        glPixelZoom(zoomx, zoomy);
-                       glColor4f(1.0, 1.0, 1.0, 1.0-bgpic->blend);
+                       glColor4f(1.0, 1.0, 1.0, bgpic->blend);
                        glaDrawPixelsTex(x1, y1, ibuf->x, ibuf->y, 
GL_UNSIGNED_BYTE, 
ibuf->rect);

                        glPixelZoom(1.0, 1.0);


_______________________________________________
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to