Bugfix: prevention of redraw of the 3d view or other windows while

rendering to the image editor missed one case, could result in
modifiers and particles being evaluated with G.rendering == 1 but
still showing in the viewport.
This commit is contained in:
Brecht Van Lommel
2007-12-19 13:11:54 +00:00
parent 42f80b3037
commit 39a99b1b05

View File

@@ -2610,7 +2610,9 @@ static void imagewindow_init_display_cb(RenderResult *rr)
drawimagespace(image_area, sima);
if(image_area->headertype) scrarea_do_headdraw(image_area);
screen_swapbuffers();
/* no screen_swapbuffers, prevent any other window to draw */
myswapbuffers();
allqueue(REDRAWIMAGE, 0); /* redraw in end */
}