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>2012-05-25 16:56:29 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-05-25 16:56:29 +0400
commit6b554c5ec4101bf1b9c3d82ff601190214684e05 (patch)
tree730077464346af25f0a0c5f4141e2cf15655214f /source/blender/makesrna/intern/rna_screen.c
parente2133842c0a4ac2671aa187f788f6c3ab5a6cb8e (diff)
Fix for last commit, forgot to update Screen.is_animation_playing python property.
Diffstat (limited to 'source/blender/makesrna/intern/rna_screen.c')
-rw-r--r--source/blender/makesrna/intern/rna_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_screen.c b/source/blender/makesrna/intern/rna_screen.c
index e442de6fc7c..71133634a96 100644
--- a/source/blender/makesrna/intern/rna_screen.c
+++ b/source/blender/makesrna/intern/rna_screen.c
@@ -94,8 +94,7 @@ static void rna_Screen_redraw_update(Main *UNUSED(bmain), Scene *UNUSED(scene),
static int rna_Screen_is_animation_playing_get(PointerRNA *ptr)
{
- bScreen *sc = (bScreen *)ptr->data;
- return (sc->animtimer != NULL);
+ return (ED_screen_animation_playing(G.main->wm.first) != NULL);
}
static int rna_Screen_fullscreen_get(PointerRNA *ptr)