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/functions')
-rw-r--r--source/blender/functions/FN_multi_function_network.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/functions/FN_multi_function_network.hh b/source/blender/functions/FN_multi_function_network.hh
index 01860c540e3..195711a7c62 100644
--- a/source/blender/functions/FN_multi_function_network.hh
+++ b/source/blender/functions/FN_multi_function_network.hh
@@ -148,6 +148,7 @@ class MFSocket : NonCopyable, NonMovable {
StringRefNull name() const;
uint id() const;
+ uint index() const;
const MFDataType &data_type() const;
@@ -398,6 +399,11 @@ inline uint MFSocket::id() const
return id_;
}
+inline uint MFSocket::index() const
+{
+ return index_;
+}
+
inline const MFDataType &MFSocket::data_type() const
{
return data_type_;