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>2021-04-01 16:55:08 +0300
committerJacques Lucke <jacques@blender.org>2021-04-01 16:55:23 +0300
commitb5c2c3aba886f521a0cade5b8450683c20843d3a (patch)
tree46878da186ccb49b2bcc3e1de816476aea5cf750 /source/blender/modifiers/intern/MOD_nodes.cc
parentf674976edd884d7a9a409042708f2b1169fd4e98 (diff)
BLI: rename resource collector to resource scope
Differential Revision: https://developer.blender.org/D10857
Diffstat (limited to 'source/blender/modifiers/intern/MOD_nodes.cc')
-rw-r--r--source/blender/modifiers/intern/MOD_nodes.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc
index 267c4be5571..843797e0f72 100644
--- a/source/blender/modifiers/intern/MOD_nodes.cc
+++ b/source/blender/modifiers/intern/MOD_nodes.cc
@@ -1100,9 +1100,9 @@ static GeometrySet compute_geometry(const DerivedNodeTree &tree,
NodesModifierData *nmd,
const ModifierEvalContext *ctx)
{
- blender::ResourceCollector resources;
- blender::LinearAllocator<> &allocator = resources.linear_allocator();
- blender::nodes::MultiFunctionByNode mf_by_node = get_multi_function_per_node(tree, resources);
+ blender::ResourceScope scope;
+ blender::LinearAllocator<> &allocator = scope.linear_allocator();
+ blender::nodes::MultiFunctionByNode mf_by_node = get_multi_function_per_node(tree, scope);
PersistentDataHandleMap handle_map;
fill_data_handle_map(nmd->settings, tree, handle_map);