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:
authorJacques Lucke <jacques@blender.org>2021-11-24 19:49:33 +0300
committerJacques Lucke <jacques@blender.org>2021-11-24 19:49:33 +0300
commit499c24ce7530b484b103fa714e94fc72ef6acfc2 (patch)
treea11ff14a08ada12ffcf2a1b1033ca83a7f30d130 /source/blender/blenlib/BLI_index_mask.hh
parentcbe9a87d282f8060670b2162a87995a255dda556 (diff)
BLI: add slice method to index mask and generic span
Diffstat (limited to 'source/blender/blenlib/BLI_index_mask.hh')
-rw-r--r--source/blender/blenlib/BLI_index_mask.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_index_mask.hh b/source/blender/blenlib/BLI_index_mask.hh
index ad030e127fe..16bb8c931cc 100644
--- a/source/blender/blenlib/BLI_index_mask.hh
+++ b/source/blender/blenlib/BLI_index_mask.hh
@@ -223,6 +223,7 @@ class IndexMask {
return indices_.is_empty();
}
+ IndexMask slice(IndexRange slice) const;
IndexMask slice_and_offset(IndexRange slice, Vector<int64_t> &r_new_indices) const;
};