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/space.c')
-rw-r--r--source/blender/src/space.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index ec16fb89fa3..c7926d00715 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -459,6 +459,7 @@ void start_game(void)
* Better would be to make a better routine
* in the game engine for finding the camera.
* - zr
+ * Note: yes, this is all very badly hacked! (ton)
*/
for (sc= G.main->scene.first; sc; sc= sc->id.next) {
if (!sc->camera) {
@@ -500,7 +501,8 @@ void start_game(void)
restore_all_scene_cfra(scene_cfra_store);
set_scene_bg(startscene);
-
+ scene_update_for_newframe(G.scene, G.scene->lay);
+
if (G.flags & G_FILE_AUTOPLAY)
exit_usiblender();