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:
Diffstat (limited to 'source/blender/src/drawview.c')
-rw-r--r--source/blender/src/drawview.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c
index 4f7fd109621..9036e5e6fca 100644
--- a/source/blender/src/drawview.c
+++ b/source/blender/src/drawview.c
@@ -1836,9 +1836,11 @@ void drawview3dspace(ScrArea *sa, void *spacedata)
drawfloor();
if(G.vd->persp==2) {
if(G.scene->world) {
- if(G.scene->world->mode & WO_STARS) RE_make_stars(star_stuff_init_func,
- star_stuff_vertex_func,
- star_stuff_term_func);
+ if(G.scene->world->mode & WO_STARS) {
+ RE_make_stars(star_stuff_init_func, star_stuff_vertex_func,
+ star_stuff_term_func);
+ G.afbreek= 0; /* silly, stars draw uses blender_test_break(), can cause render to stop */
+ }
}
if(G.vd->flag & V3D_DISPBGPIC) draw_bgpic();
}