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-03-09 23:20:33 +0300
committerJacques Lucke <jacques@blender.org>2021-03-09 23:22:30 +0300
commit90520026e9cedfd080c649ae0d954a0d68e1c51a (patch)
tree46d35a975d0103a42766d522188b21b28e8e0dca /source/blender/nodes/NOD_derived_node_tree.hh
parent7d827d0e9e1a396580be988313bfd9ee4273a517 (diff)
Fix: only follow first input of multi-input-socket when muted
Otherwise muting a Join Geometry node has no effect, when there are multiple Join Geometry nodes in a row.
Diffstat (limited to 'source/blender/nodes/NOD_derived_node_tree.hh')
-rw-r--r--source/blender/nodes/NOD_derived_node_tree.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/nodes/NOD_derived_node_tree.hh b/source/blender/nodes/NOD_derived_node_tree.hh
index f1dbb2caf29..3529336baf6 100644
--- a/source/blender/nodes/NOD_derived_node_tree.hh
+++ b/source/blender/nodes/NOD_derived_node_tree.hh
@@ -132,7 +132,8 @@ class DInputSocket : public DSocket {
DOutputSocket get_corresponding_group_node_output() const;
Vector<DOutputSocket, 4> get_corresponding_group_input_sockets() const;
- void foreach_origin_socket(FunctionRef<void(DSocket)> callback) const;
+ void foreach_origin_socket(FunctionRef<void(DSocket)> callback,
+ const bool follow_only_first_incoming_link = false) const;
};
/* A (nullable) reference to an output socket and the context it is in. */