diff options
Diffstat (limited to 'source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc')
-rw-r--r-- | source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc b/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc index e4ecd0c6f67..49483b3f25a 100644 --- a/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc +++ b/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc @@ -4,8 +4,8 @@ #include "BLI_virtual_array.hh" #include "BKE_attribute.hh" +#include "BKE_compute_contexts.hh" #include "BKE_context.h" -#include "BKE_context_stack.hh" #include "BKE_curves.hh" #include "BKE_editmesh.h" #include "BKE_geometry_fields.hh" @@ -448,17 +448,17 @@ static const ViewerNodeLog *try_find_viewer_node_log(const SpaceSpreadsheet &ssp nodes::geo_eval_log::GeoModifierLog *modifier_log = static_cast<nodes::geo_eval_log::GeoModifierLog *>(nmd->runtime_eval_log); - ContextStackBuilder context_stack_builder; - context_stack_builder.push<bke::ModifierContextStack>(modifier_context->modifier_name); + ComputeContextBuilder compute_context_builder; + compute_context_builder.push<bke::ModifierComputeContext>(modifier_context->modifier_name); for (const SpreadsheetContext *context : context_path.as_span().drop_front(2).drop_back(1)) { if (context->type != SPREADSHEET_CONTEXT_NODE) { return nullptr; } const SpreadsheetContextNode &node_context = *reinterpret_cast<const SpreadsheetContextNode *>( context); - context_stack_builder.push<bke::NodeGroupContextStack>(node_context.node_name); + compute_context_builder.push<bke::NodeGroupComputeContext>(node_context.node_name); } - const ContextStackHash context_hash = context_stack_builder.hash(); + const ComputeContextHash context_hash = compute_context_builder.hash(); nodes::geo_eval_log::GeoTreeLog &tree_log = modifier_log->get_tree_log(context_hash); tree_log.ensure_viewer_node_logs(); |