Blender Git Commit Log

Git Commits -> Revision 26a0007

Revision 26a0007 by Joshua Leung (depsgraph_refactor)
January 26, 2015, 11:28 (GMT)
Depsgraph: Use BLI_gset_add() instead of BLI_gset_insert() to avoid duplicate entries in set

So it turns out that using BLI_gset_insert() will just cause the ghash-set
implementation to blindly add duplicate entries if the key already exists
in the hashtable - not exactly what we want, as that kindof violates the
whole point of such data structures.

Commit Details:

Full Hash: 26a00078e0958c99793f4f8e5fdfc4e57d65f151
Parent Commit: 220e493
Lines Changed: +2, -2

1 Modified Path:

/source/blender/depsgraph/intern/depsgraph_build_relations.cpp (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021