Blender Git Commit Log

Git Commits -> Revision b745a24

Revision b745a24 by Kévin Dietrich (master)
August 8, 2016, 15:51 (GMT)
Fix ID types DAG update tagging.

The first character of the ID type was used to tag IDs for updates which
is weak since different IDs can have the same first character (for
example meshes, materials and metaballs), causing unnecessary updates of
unrelated IDs.

Now we use a unique index per ID type to tag for updates, unifying IDs
arrays indexing along the way.

Reviewers: sergey, mont29

Differential Revision: https://developer.blender.org/D2139

Commit Details:

Full Hash: b745a2401b6ccf75b1e90cf1c8fa648d99c81e29
Parent Commit: 5e5d3d6
Lines Changed: +148, -69

8 Modified Paths:

/source/blender/blenkernel/BKE_idcode.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_main.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+6, -11) (Diff)
/source/blender/blenkernel/intern/idcode.c (+50, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+40, -44) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cc (+2, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+5, -12) (Diff)
/source/blender/makesdna/DNA_ID.h (+40, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021