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:
authorTon Roosendaal <ton@blender.org>2005-10-17 20:57:12 +0400
committerTon Roosendaal <ton@blender.org>2005-10-17 20:57:12 +0400
commit5991b078c92739c7b44b7101e0af03803df481b7 (patch)
tree18c30956364109a0709e1dddfdf3b5be8e5c6624 /source/blender/src/headerbuttons.c
parent5166a1ee9250a04cc499f1c97cdcb5fe35603987 (diff)
This fixes ALT+A playback in 3d windows, with one or more windows having
unlocked (not scene) layers. Depgraph pickyness.
Diffstat (limited to 'source/blender/src/headerbuttons.c')
-rw-r--r--source/blender/src/headerbuttons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c
index f51830a56e5..13c46536fbb 100644
--- a/source/blender/src/headerbuttons.c
+++ b/source/blender/src/headerbuttons.c
@@ -495,7 +495,7 @@ static void do_update_for_newframe(int mute, int events)
}
/* this function applies the changes too */
- scene_update_for_newframe(G.scene, G.vd?G.vd->lay:G.scene->lay); /* BKE_scene.h */
+ scene_update_for_newframe(G.scene, screen_view3d_layers()); /* BKE_scene.h */
if ( (CFRA>1) && (!mute) && (G.scene->audio.flag & AUDIO_SCRUB)) audiostream_scrub( CFRA );
}