diff options
author | YimingWu <xp8110@outlook.com> | 2019-08-11 11:12:04 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2019-08-11 11:12:04 +0300 |
commit | f04a173d7b5a7f1540ec64906e8314922300cd96 (patch) | |
tree | 85c058ab6630d3e62414e7447d6f60844ca4e2c3 /source/blender/editors/render | |
parent | 22cdadaa32c74d964b1fe4e0dc517eb33ada7bd2 (diff) |
Diff for adding LANPR only.
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r-- | source/blender/editors/render/render_update.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/render/render_update.c b/source/blender/editors/render/render_update.c index 82e4d577777..3254b8d9f8a 100644 --- a/source/blender/editors/render/render_update.c +++ b/source/blender/editors/render/render_update.c @@ -59,6 +59,8 @@ #include "ED_render.h" #include "ED_view3d.h" +#include "ED_lanpr.h" + #include "DEG_depsgraph.h" #include "WM_api.h" @@ -95,6 +97,9 @@ void ED_render_scene_update(const DEGEditorUpdateContext *update_ctx, int update return; } + /* Temporary solution for updating LANPR GPencil targets. */ + ED_lanpr_post_frame_update_external(scene, update_ctx->depsgraph); + recursive_check = true; C = CTX_create(); |