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-12 13:38:03 +0300
committerJacques Lucke <jacques@blender.org>2020-07-12 13:38:03 +0300
commit838b1742fb99f7d0eba203313b6faa3cfc89ef8d (patch)
treeae6d98d34bcf27cf8b8d750af2d52d456ce8279f /source/blender/functions/FN_multi_function.hh
parent404486e66c6a4ebebb085700d58b396597146add (diff)
Functions: minor improvements
Diffstat (limited to 'source/blender/functions/FN_multi_function.hh')
-rw-r--r--source/blender/functions/FN_multi_function.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/functions/FN_multi_function.hh b/source/blender/functions/FN_multi_function.hh
index c53959203cb..35f144368ac 100644
--- a/source/blender/functions/FN_multi_function.hh
+++ b/source/blender/functions/FN_multi_function.hh
@@ -73,6 +73,11 @@ class MultiFunction {
return false;
}
+ uint param_amount() const
+ {
+ return signature_.param_types.size();
+ }
+
IndexRange param_indices() const
{
return signature_.param_types.index_range();