diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-12 13:38:03 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-12 13:38:03 +0300 |
commit | 838b1742fb99f7d0eba203313b6faa3cfc89ef8d (patch) | |
tree | ae6d98d34bcf27cf8b8d750af2d52d456ce8279f /source/blender/functions/FN_multi_function.hh | |
parent | 404486e66c6a4ebebb085700d58b396597146add (diff) |
Functions: minor improvements
Diffstat (limited to 'source/blender/functions/FN_multi_function.hh')
-rw-r--r-- | source/blender/functions/FN_multi_function.hh | 5 |
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(); |