Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2007-12-19 16:11:54 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-12-19 16:11:54 +0300
commit39a99b1b05de9ddd57c6a1beb4ea5e61cc7b5322 (patch)
tree952b9dea91d054073d2e800c3df7291c3319e0fc
parent42f80b30376f0de1569b3a06d33e912dc071dfc5 (diff)
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.
-rw-r--r--source/blender/src/drawimage.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/drawimage.c b/source/blender/src/drawimage.c
index ea9dc6a0482..65ee3077adb 100644
--- a/source/blender/src/drawimage.c
+++ b/source/blender/src/drawimage.c
@@ -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 */
}