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-10-21 16:49:29 +0300
committerJacques Lucke <jacques@blender.org>2021-10-21 16:50:04 +0300
commit090be2775e3d7c0dc3f7956b05c7fb9a72c4bdfc (patch)
treec5783ec4b2ee736e810c0b82339fe9dced785255 /source/blender/nodes/intern/geometry_nodes_eval_log.cc
parent6600ae3aa707d7e1c2728b9af50dc15e81fd7f2b (diff)
Geometry Nodes: fix force-computing multiple non-output sockets
There were some issues when multiple inputs of the same node were forced to be computed (e.g. for the spreadsheet), but none of the node outputs (if existant) were used. Essentially the node was marked as "finished" too early in this case. This fix is necessary for the improved viewer node (T92167).
Diffstat (limited to 'source/blender/nodes/intern/geometry_nodes_eval_log.cc')
-rw-r--r--source/blender/nodes/intern/geometry_nodes_eval_log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/geometry_nodes_eval_log.cc b/source/blender/nodes/intern/geometry_nodes_eval_log.cc
index fa9bf09d8d9..d39f8367686 100644
--- a/source/blender/nodes/intern/geometry_nodes_eval_log.cc
+++ b/source/blender/nodes/intern/geometry_nodes_eval_log.cc
@@ -354,7 +354,7 @@ void LocalGeoLogger::log_value_for_sockets(Span<DSocket> sockets, GPointer value
if (type.is<GeometrySet>()) {
bool log_full_geometry = false;
for (const DSocket &socket : sockets) {
- if (main_logger_->log_full_geometry_sockets_.contains(socket)) {
+ if (main_logger_->log_full_sockets_.contains(socket)) {
log_full_geometry = true;
break;
}