diff options
Diffstat (limited to 'source/blender/nodes/NOD_geometry_exec.hh')
-rw-r--r-- | source/blender/nodes/NOD_geometry_exec.hh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/nodes/NOD_geometry_exec.hh b/source/blender/nodes/NOD_geometry_exec.hh index d5fd3ff0abb..e648d77337b 100644 --- a/source/blender/nodes/NOD_geometry_exec.hh +++ b/source/blender/nodes/NOD_geometry_exec.hh @@ -133,11 +133,8 @@ class GeoNodeExecParams { /** * Get the input value for the input socket with the given identifier. - * - * This makes a copy of the value, which is fine for most types but should be avoided for - * geometry sets. */ - template<typename T> T get_input(StringRef identifier) const + template<typename T> const T &get_input(StringRef identifier) const { #ifdef DEBUG this->check_extract_input(identifier, &CPPType::get<T>()); |