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:
authorCampbell Barton <ideasman42@gmail.com>2006-03-24 19:04:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2006-03-24 19:04:55 +0300
commit21c9ee54cadd76643bbf9dcaf47e97c2a30a92cb (patch)
tree95970eaadbb4e7d226e99abc1246de3f6ea0a7b2 /source/blender/src/drawscene.c
parentd29503cc6d96cabe836c011645cde9920ba213b8 (diff)
blender -P xxx -b crashed sometimes, still will crash in some cases if the python functions access screen data. but at least Blender.sys.expandpath wont segfault anymore.
Diffstat (limited to 'source/blender/src/drawscene.c')
-rw-r--r--source/blender/src/drawscene.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/src/drawscene.c b/source/blender/src/drawscene.c
index 330f9d45085..4528c2125f4 100644
--- a/source/blender/src/drawscene.c
+++ b/source/blender/src/drawscene.c
@@ -134,10 +134,8 @@ void set_scene(Scene *sce) /* also see scene.c: set_scene_bg() */
set_radglobal();
/* complete redraw */
- if (!G.background) {
- allqueue(REDRAWALL, 0);
- allqueue(REDRAWDATASELECT, 0); /* does a remake */
- }
+ allqueue(REDRAWALL, 0);
+ allqueue(REDRAWDATASELECT, 0); /* does a remake */
}