Blender Git Loki

Git Commits -> Revision 0fdc0f8

Revision 0fdc0f8 by Sergey Sharybin (master)
October 20, 2017, 10:28 (GMT)
Depsgraph: Introduce hash of dependency graphs in the scene level

The idea is following: we do need to have multiple dependency graphs to denote
different scene layers (depsgraph should only contain objects from a specific
scene layer), and we also want to support same scene layer to be evaluated to
a different state in different windows. In order to achieve that we do need to
have a list or hash (for faster lookup presumably) somewhere. To keep things
easier for now, it will be a scene which owns that hash. This seems to make
sense anyway, since dependency graph only points to data which is owned by
scene.

This commit only introduces some basic API and hash itself stored in DNA, there
is no changes in behavior. See this as a first step towards getting rid of
scene-global dependency graph.

Commit Details:

Full Hash: 0fdc0f8bbddf2913e784f4abc75972c76cabcc3a
Parent Commit: 86d75d5
Lines Changed: +76, -2

4 Modified Paths:

/source/blender/blenkernel/BKE_scene.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+68, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021