Blender Git Commit Log

Git Commits -> Revision 93072e4

Revision 93072e4 by Sergey Sharybin (master)
February 22, 2018, 10:03 (GMT)
Depsgraph: Replace LIB_TAG_DOIT with hash lookup

This allows us to:

- Not mock around with tags stored in a global space,
and not to iterate over all datablocks in the database
to clear the tags.

- Properly deal with datablocks which might not be in main database.

While it sounds crazy, it might be handy when dealing with preview,
or some partial scene updates, such as motion paths.

- Avoids majority of places where depsgraph construction needed bmain.

This is something what could help in blender2.8 branch.

From tests with production file here did not see any measurable slowdown.

Hopefully, there is no functional changes :)

Commit Details:

Full Hash: 93072e44d11efe9528d2bb7a3a62784331bf0a08
Parent Commit: 76953a6
Lines Changed: +85, -169

6 Modified Paths:

/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+40, -85) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+3, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc (+1, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+38, -81) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+3, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021