[Bf-blender-cvs] [70cbbd614f7] temp-geometry-nodes-fields: get more efficient virtual array from MFParams
Jacques Lucke
noreply at git.blender.org
Thu Sep 2 12:48:09 CEST 2021
Commit: 70cbbd614f79b771d349229463647605b148680e
Author: Jacques Lucke
Date: Thu Sep 2 12:41:51 2021 +0200
Branches: temp-geometry-nodes-fields
https://developer.blender.org/rB70cbbd614f79b771d349229463647605b148680e
get more efficient virtual array from MFParams
===================================================================
M source/blender/functions/FN_multi_function_params.hh
===================================================================
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 = "")
{
More information about the Bf-blender-cvs
mailing list