diff options
author | Ton Roosendaal <ton@blender.org> | 2007-03-13 15:20:55 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-03-13 15:20:55 +0300 |
commit | a8b41017f193681bc130f25f121de1cfd7a8b866 (patch) | |
tree | 23bc241e3bc73644d632f1c87113faeb5d4c67a8 /source/blender/src/headerbuttons.c | |
parent | df1df624ac1718d0dca0c12d11a3584bb67fee14 (diff) |
Bugfix #6211
Group nodes with animation nodes inside (like Time) did not get updated
correctly.
I also noticed that with time Nodes, the hotkey "E" (execute) fails to do
a composite after frame changes, fixed that too.
Diffstat (limited to 'source/blender/src/headerbuttons.c')
-rw-r--r-- | source/blender/src/headerbuttons.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c index c631fa0e431..e185da56f5e 100644 --- a/source/blender/src/headerbuttons.c +++ b/source/blender/src/headerbuttons.c @@ -106,6 +106,7 @@ #include "BKE_material.h" #include "BKE_mball.h" #include "BKE_mesh.h" +#include "BKE_node.h" #include "BKE_object.h" #include "BKE_packedFile.h" #include "BKE_sca.h" @@ -418,9 +419,15 @@ static void do_update_for_newframe(int mute, int events) if ( (CFRA>1) && (!mute) && (G.scene->audio.flag & AUDIO_SCRUB)) audiostream_scrub( CFRA ); + /* 3d window, preview */ BIF_view3d_previewrender_signal(curarea, PR_DBASE|PR_DISPRECT); + /* all movie/sequence images */ BIF_image_update_frame(); + + /* composite */ + if(G.scene->use_nodes && G.scene->nodetree) + ntreeCompositTagAnimated(G.scene->nodetree); } void update_for_newframe(void) |