diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/functions/FN_generic_virtual_array.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/functions/FN_generic_virtual_array.hh b/source/blender/functions/FN_generic_virtual_array.hh index fba69f30330..2e91479dd30 100644 --- a/source/blender/functions/FN_generic_virtual_array.hh +++ b/source/blender/functions/FN_generic_virtual_array.hh @@ -123,6 +123,7 @@ class GVArray { BLI_assert(this->is_single()); if (size_ == 1) { this->get(0, r_value); + return; } this->get_internal_single_impl(r_value); } |