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>2020-07-10 15:22:35 +0300
committerJacques Lucke <jacques@blender.org>2020-07-10 15:23:13 +0300
commitc806db63130b362284a90e96610939a8e2572deb (patch)
tree14f6f5b7ea99357c04765a4d7a6e38084101f9c7 /source/blender/functions/FN_multi_function_network.hh
parent60133ff98d8602f0a4a2199c76fdbd42820d1233 (diff)
Functions: add utility to find dependencies of input sockets
Diffstat (limited to 'source/blender/functions/FN_multi_function_network.hh')
-rw-r--r--source/blender/functions/FN_multi_function_network.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/functions/FN_multi_function_network.hh b/source/blender/functions/FN_multi_function_network.hh
index 42f24d9c44c..e47c8260057 100644
--- a/source/blender/functions/FN_multi_function_network.hh
+++ b/source/blender/functions/FN_multi_function_network.hh
@@ -229,6 +229,10 @@ class MFNetwork : NonCopyable, NonMovable {
MFSocket *socket_or_null_by_id(uint id);
const MFSocket *socket_or_null_by_id(uint id) const;
+ void find_dependencies(Span<const MFInputSocket *> sockets,
+ VectorSet<const MFOutputSocket *> &r_dummy_sockets,
+ VectorSet<const MFInputSocket *> &r_unlinked_inputs) const;
+
std::string to_dot(Span<const MFNode *> marked_nodes = {}) const;
};