Blender Git Loki

Git Commits -> Revision 673fabb

Revision 673fabb by Sergey Sharybin (master)
May 30, 2016, 10:35 (GMT)
Depsgraph: Fix wrong layers flush form children to parent

It was possible to have issues in cases when several child dependencies
goes to IDs with different layers. In this case order of flushing was not
really well defined, which could lead to cases when indirect dependency
via invisible object wouldn't work.

Need some sort of barrier to prevent scheduling of parent nodes for until
all children are done, but that's becoming quite nasty thing to implement.

Added a temp field to component for now. maybe it's not so crazy actually
and we might use it for evaluation as well, so we wouldn't flush updates
to components which does not affect visible stuff.

Commit Details:

Full Hash: 673fabbb64092f8a3fd5bf87f4b3ce0e80760aa5
Parent Commit: 4aaf7b0
Lines Changed: +37, -25

4 Modified Paths:

/intern/cycles/blender/blender_curves.cpp (+1, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.cc (+27, -23) (Diff)
/source/blender/depsgraph/intern/nodes/deg_node_component.cc (+6, -2) (Diff)
/source/blender/depsgraph/intern/nodes/deg_node_component.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021