diff options
author | Jacques Lucke <jacques@blender.org> | 2020-08-18 14:04:28 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-08-18 14:06:31 +0300 |
commit | df495e758d0fabc74e8ca5bbf9dc4d71af3ac63c (patch) | |
tree | 6f0ce5dc4cad0e3dbad77e81bbf6d57e244ff3a7 /source/blender/depsgraph/intern/depsgraph_build.cc | |
parent | fc5eab357009f10fe68bb19a5d48f3ff7ab8825a (diff) |
Cleanup: use Span instead of separate pointer and length
Reviewers: sergey
Differential Revision: https://developer.blender.org/D8605
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_build.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_build.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_build.cc b/source/blender/depsgraph/intern/depsgraph_build.cc index 230c59bd651..dc49534eb2d 100644 --- a/source/blender/depsgraph/intern/depsgraph_build.cc +++ b/source/blender/depsgraph/intern/depsgraph_build.cc @@ -251,7 +251,8 @@ void DEG_graph_build_from_ids(Depsgraph *graph, ID **ids, const int num_ids) { - deg::FromIDsBuilderPipeline builder(graph, bmain, scene, view_layer, ids, num_ids); + deg::FromIDsBuilderPipeline builder( + graph, bmain, scene, view_layer, blender::Span(ids, num_ids)); builder.build(); } |