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:
Diffstat (limited to 'source/blender/editors/space_node/node_draw.cc')
-rw-r--r--source/blender/editors/space_node/node_draw.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc
index 58738449d4b..a8fa27c0313 100644
--- a/source/blender/editors/space_node/node_draw.cc
+++ b/source/blender/editors/space_node/node_draw.cc
@@ -30,8 +30,8 @@
#include "BLT_translation.h"
+#include "BKE_compute_contexts.hh"
#include "BKE_context.h"
-#include "BKE_context_stack.hh"
#include "BKE_idtype.h"
#include "BKE_lib_id.h"
#include "BKE_main.h"
@@ -332,7 +332,7 @@ static nodes::geo_eval_log::GeoTreeLog *get_geo_tree_log(SpaceNode &snode)
using namespace blender::nodes;
using namespace blender::nodes::geo_eval_log;
- ContextStackBuilder context_stack_builder;
+ ComputeContextBuilder compute_context_builder;
if (snode.id == nullptr) {
return nullptr;
@@ -358,17 +358,16 @@ static nodes::geo_eval_log::GeoTreeLog *get_geo_tree_log(SpaceNode &snode)
return nullptr;
}
GeoModifierLog &modifier_log = *static_cast<GeoModifierLog *>(nmd->runtime_eval_log);
- context_stack_builder.push<bke::ModifierContextStack>(nmd->modifier.name);
+ compute_context_builder.push<bke::ModifierComputeContext>(nmd->modifier.name);
Vector<const bNodeTreePath *> tree_path_vec{snode.treepath};
if (tree_path_vec.is_empty()) {
return nullptr;
}
for (const bNodeTreePath *path : tree_path_vec.as_span().drop_front(1)) {
- context_stack_builder.push<bke::NodeGroupContextStack>(path->node_name,
- path->nodetree->id.name + 2);
+ compute_context_builder.push<bke::NodeGroupComputeContext>(path->node_name);
}
- return &modifier_log.get_tree_log(context_stack_builder.hash());
+ return &modifier_log.get_tree_log(compute_context_builder.hash());
}
struct SocketTooltipData {