diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-27 17:35:54 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-27 17:35:54 +0300 |
commit | 6f5d01779a50931aeefbc3593af27d3ffacdab72 (patch) | |
tree | cf6879d0f6f295fbe4c29eca88dff3282abec6c0 /source/blender/functions/FN_spans.hh | |
parent | 38e65331a8345054874e81668772dc8c66ad1a1e (diff) |
Functions: add some tests for virtual spans
Diffstat (limited to 'source/blender/functions/FN_spans.hh')
-rw-r--r-- | source/blender/functions/FN_spans.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/functions/FN_spans.hh b/source/blender/functions/FN_spans.hh index a81f3ea3633..62fa7c8ed4b 100644 --- a/source/blender/functions/FN_spans.hh +++ b/source/blender/functions/FN_spans.hh @@ -217,7 +217,7 @@ template<typename T> struct VSpanBase { case VSpanCategory::FullArray: return true; case VSpanCategory::FullPointerArray: - return false; + return virtual_size_ <= 1; } BLI_assert(false); return false; |