Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/intern/source/pipeline.c
| Context not available. | |||||
| re->i.cfra = cfra; | re->i.cfra = cfra; | ||||
| if (recurs_depth == 0) { | //if (recurs_depth == 0) { | ||||
| /* otherwise sequencer animation isn't updated */ | /* otherwise sequencer animation isn't updated */ | ||||
| /* TODO(sergey): Currently depsgraph is only used to check whether it is an active | /* TODO(sergey): Currently depsgraph is only used to check whether it is an active | ||||
| * edit window or not to deal with unkeyed changes. We don't have depsgraph here yet, | * edit window or not to deal with unkeyed changes. We don't have depsgraph here yet, | ||||
| * but we also dont' deal with unkeyed changes. But still nice to get proper depsgraph | * but we also dont' deal with unkeyed changes. But still nice to get proper depsgraph | ||||
| * within tjhe render pipeline, somehow. | * within tjhe render pipeline, somehow. | ||||
| */ | */ | ||||
| BKE_animsys_evaluate_all_animation(re->main, NULL, re->scene, (float)cfra); // XXX, was BKE_scene_frame_get(re->scene) | //BKE_animsys_evaluate_all_animation(re->main, NULL, re->scene, (float)cfra); // XXX, was BKE_scene_frame_get(re->scene) | ||||
| } | //} | ||||
| recurs_depth++; | recurs_depth++; | ||||
| Context not available. | |||||
| { | { | ||||
| Object *camera; | Object *camera; | ||||
| bool render_seq = false; | bool render_seq = false; | ||||
| int cfra = re->r.cfra; | |||||
| re->current_scene_update(re->suh, re->scene); | re->current_scene_update(re->suh, re->scene); | ||||
| Context not available. | |||||
| BKE_image_all_free_anim_ibufs(re->main, re->r.cfra); | BKE_image_all_free_anim_ibufs(re->main, re->r.cfra); | ||||
| BKE_sequencer_all_free_anim_ibufs(re->main, re->r.cfra); | BKE_sequencer_all_free_anim_ibufs(re->main, re->r.cfra); | ||||
| BKE_animsys_evaluate_all_animation(re->main, NULL, re->scene, (float)cfra); | |||||
| if (RE_engine_render(re, 1)) { | if (RE_engine_render(re, 1)) { | ||||
| /* in this case external render overrides all */ | /* in this case external render overrides all */ | ||||
| } | } | ||||
| Context not available. | |||||