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@gmail.com>2019-02-13 22:04:25 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-02-13 22:04:44 +0300
commit8365de52bc6cd7d019bfebe7ffc2ddc083cd4493 (patch)
treea0886c185cef9c91d5dd6b1463b65cf8068552da /source/blender/freestyle
parentdbd9b7590af7a3dde3805bf23f78a6e0c6b1fe99 (diff)
Fix T61477: freestyle not updating in animation render (again).
Must use the right function to get animation updates now.
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r--source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
index 787e725f983..9b186ab5ecd 100644
--- a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
+++ b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
@@ -607,7 +607,7 @@ Render *FRS_do_stroke_rendering(Render *re, ViewLayer *view_layer, int render)
/* Create depsgraph and evaluate scene. */
ViewLayer *scene_view_layer = (ViewLayer*)BLI_findstring(&re->scene->view_layers, view_layer->name, offsetof(ViewLayer, name));
Depsgraph *depsgraph = DEG_graph_new(re->scene, scene_view_layer, DAG_EVAL_RENDER);
- BKE_scene_graph_update_tagged(depsgraph, re->main);
+ BKE_scene_graph_update_for_newframe(depsgraph, re->main);
// prepare Freestyle:
// - load mesh