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:
-rw-r--r--source/blender/functions/FN_generic_virtual_array.hh1
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);
}