Render window: Jkey (swap display buffers) works as 2.41 again. Meaning,
authorTon Roosendaal <ton@blender.org>
Mon, 29 May 2006 08:40:01 +0000 (08:40 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 29 May 2006 08:40:01 +0000 (08:40 +0000)
it keeps storing a previous buffer for as long you don't render showing
this previous buffer.
If you render showing the previous buffer, it stores the current render.

To make this more clear, the window title shows "previous" when it shows
the stored copy.

source/blender/src/renderwin.c

index e0cefbf2ae2b32dec38c651c1d38d36a48074ee5..9254b0405c2138ca4a89483f8850f12f94ae4a79 100644 (file)
@@ -596,8 +596,8 @@ static char *renderwin_get_title(int doswap)
        swap+= doswap;
        
        if(swap & 1) {
-               if (G.scene->r.renderer==R_YAFRAY) title = "YafRay:Render (previous frame)";
-               else title = "Blender:Render (previous frame)";
+               if (G.scene->r.renderer==R_YAFRAY) title = "YafRay:Render (previous)";
+               else title = "Blender:Render (previous)";
        }
        else {
                if (G.scene->r.renderer==R_YAFRAY) title = "YafRay:Render";
@@ -1203,7 +1203,8 @@ void BIF_do_render(int anim)
                }
        }
        
-       renderwin_store_spare();
+       if(render_win && render_win->showspare)
+               renderwin_store_spare();
 
        do_render(anim);