Blender Git Loki

Git Commits -> Revision ace9a31

Revision ace9a31 by Sergey Sharybin (compositor-2016)
June 8, 2016, 19:45 (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: ace9a3132e657c954443d1a500c01334463b335d
Parent Commit: f4eb493
Committed By: Jeroen Bakker
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