Commit: db03f3399cb3a7a9be49f984d4e6218aa7dbd089
Author: Jacques Lucke
Date: Mon Apr 8 17:03:24 2019 +0200
Branches: functions
https://developer.blender.org/rBdb03f3399cb3a7a9be49f984d4e6218aa7dbd089
fix probing function
===================================================================
M source/blender/blenlib/BLI_array_lookup.hpp
===================================================================
diff --git a/source/blender/blenlib/BLI_array_lookup.hpp
b/source/blender/blenlib/BLI_array_lookup.hpp
index b30467c5212..5be33618492 100644
--- a/source/blender/blenlib/BLI_array_lookup.hpp
+++ b/source/blender/blenlib/BLI_array_lookup.hpp
@@ -178,7 +178,7 @@ namespace BLI {
uint32_t *slot,
uint32_t *perturb) const
{
- *slot = m_slot_mask & ((5 + *slot) + 1 + *perturb);
+ *slot = m_slot_mask & ((5 * *slot) + 1 + *perturb);
*perturb >>= PERTURB_SHIFT;
}
};
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs