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:
authorJacques Lucke <jacques@blender.org>2020-08-18 14:04:28 +0300
committerJacques Lucke <jacques@blender.org>2020-08-18 14:06:31 +0300
commitdf495e758d0fabc74e8ca5bbf9dc4d71af3ac63c (patch)
tree6f0ce5dc4cad0e3dbad77e81bbf6d57e244ff3a7 /source/blender/depsgraph/intern/depsgraph_build.cc
parentfc5eab357009f10fe68bb19a5d48f3ff7ab8825a (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.cc3
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();
}