Commit: a042d365b376414ce4e3dc5cc443b69e7b5771d1
Author: Jeroen Bakker
Date: Thu Jul 7 10:32:39 2022 +0200
Branches: temp-T97352-3d-texturing-seam-bleeding-b2
https://developer.blender.org/rBa042d365b376414ce4e3dc5cc443b69e7b5771d1
Added VectorList from D13289.
===================================================================
M source/blender/blenlib/BLI_vector.hh
===================================================================
diff --git a/source/blender/blenlib/BLI_vector.hh
b/source/blender/blenlib/BLI_vector.hh
index c23d846d277..23ec05572b6 100644
--- a/source/blender/blenlib/BLI_vector.hh
+++ b/source/blender/blenlib/BLI_vector.hh
@@ -900,6 +900,11 @@ class Vector {
return static_cast<int64_t>(capacity_end_ - begin_);
}
+ bool is_at_capacity() const
+ {
+ return end_ == capacity_end_;
+ }
+
/**
* Get an index range that makes looping over all indices more convenient
and less error prone.
* Obviously, this should only be used when you actually need the index in
the loop.
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs