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-09-02 13:41:51 +0300
committerJacques Lucke <jacques@blender.org>2021-09-02 13:41:51 +0300
commit70cbbd614f79b771d349229463647605b148680e (patch)
tree1dfc176f52492a2ef111f1e41f8aabd6188aaede /source/blender/functions
parent95288eba5965ce92a04864040ff088f40c18ada2 (diff)
get more efficient virtual array from MFParams
Diffstat (limited to 'source/blender/functions')
-rw-r--r--source/blender/functions/FN_multi_function_params.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/functions/FN_multi_function_params.hh b/source/blender/functions/FN_multi_function_params.hh
index a480287d578..5af86c7c284 100644
--- a/source/blender/functions/FN_multi_function_params.hh
+++ b/source/blender/functions/FN_multi_function_params.hh
@@ -195,7 +195,7 @@ class MFParams {
template<typename T> const VArray<T> &readonly_single_input(int param_index, StringRef name = "")
{
const GVArray &array = this->readonly_single_input(param_index, name);
- return builder_->scope_.construct<VArray_For_GVArray<T>>(__func__, array);
+ return builder_->scope_.construct<GVArray_Typed<T>>(__func__, array);
}
const GVArray &readonly_single_input(int param_index, StringRef name = "")
{