Commit: e8748fa9c61bc999327d86dddb55f11ed2c7505e
Author: Jacques Lucke
Date: Thu Mar 25 13:38:02 2021 +0100
Branches: temp-compact-node-prototype
https://developer.blender.org/rBe8748fa9c61bc999327d86dddb55f11ed2c7505e
fix
===================================================================
M source/blender/blenlib/BLI_set.hh
===================================================================
diff --git a/source/blender/blenlib/BLI_set.hh
b/source/blender/blenlib/BLI_set.hh
index fef657b2d8f..a8ccf957f6c 100644
--- a/source/blender/blenlib/BLI_set.hh
+++ b/source/blender/blenlib/BLI_set.hh
@@ -788,6 +788,8 @@ class Set {
template<typename ForwardKey>
const Key &lookup_key_or_add__impl(ForwardKey &&key, const uint64_t hash)
{
+ this->ensure_can_add();
+
SET_SLOT_PROBING_BEGIN (hash, slot) {
if (slot.contains(key, is_equal_, hash)) {
return *slot.key();
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs