diff options
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 9c927c80c7e..df8a6042a0f 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -291,13 +291,13 @@ void set_scene_bg(Scene *sce) ob->ctime= -1234567.0; /* force ipo to be calculated later */ base= base->next; } - // full animation update - scene_update_for_newframe(sce, sce->lay); + /* no full animation update, this to enable render code to work (render code calls own animation updates) */ /* do we need FRAMECHANGED in set_scene? */ // if (G.f & G_DOSCRIPTLINKS) BPY_do_all_scripts(SCRIPT_FRAMECHANGED); } +/* called from creator.c */ void set_scene_name(char *name) { Scene *sce; @@ -468,7 +468,7 @@ void scene_update_for_newframe(Scene *sce, unsigned int lay) if(sce->theDag==NULL) DAG_scene_sort(sce); - DAG_scene_update_flags(sce, lay); // only stuff that moves + DAG_scene_update_flags(sce, lay); // only stuff that moves or needs display still for(base= sce->base.first; base; base= base->next) { ob= base->object; |