diff options
author | Jacques Lucke <jacques@blender.org> | 2020-08-18 16:45:58 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-08-18 16:45:58 +0300 |
commit | d9f7cbb8af07b27d3825453a036557a0e0dab37b (patch) | |
tree | ab540af9f4f3d14206b5ec984bf02dc8c9b31993 /source/blender/io/usd | |
parent | f653a4f34997adbb856db0aad49ffe72111603e4 (diff) |
Cleanup: remove bmain argument from BKE_scene_graph_update_for_newframe
Reviewers: sergey
Differential Revision: https://developer.blender.org/D8613
Diffstat (limited to 'source/blender/io/usd')
-rw-r--r-- | source/blender/io/usd/intern/usd_capi.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/io/usd/intern/usd_capi.cc b/source/blender/io/usd/intern/usd_capi.cc index a7c5ff1a305..1c23535e248 100644 --- a/source/blender/io/usd/intern/usd_capi.cc +++ b/source/blender/io/usd/intern/usd_capi.cc @@ -127,7 +127,7 @@ static void export_startjob(void *customdata, // Update the scene for the next frame to render. scene->r.cfra = static_cast<int>(frame); scene->r.subframe = frame - scene->r.cfra; - BKE_scene_graph_update_for_newframe(data->depsgraph, data->bmain); + BKE_scene_graph_update_for_newframe(data->depsgraph); iter.set_export_frame(frame); iter.iterate_and_write(); @@ -147,7 +147,7 @@ static void export_startjob(void *customdata, // Finish up by going back to the keyframe that was current before we started. if (CFRA != orig_frame) { CFRA = orig_frame; - BKE_scene_graph_update_for_newframe(data->depsgraph, data->bmain); + BKE_scene_graph_update_for_newframe(data->depsgraph); } data->export_ok = true; |