Blender Git Loki

Git Commits -> Revision d87f289

Revision d87f289 by Sergey Sharybin (depsgraph_refactor)
February 23, 2015, 14:15 (GMT)
Depsgraph: Changes in the way how tagging objects and relations for update are working together

The idea is to get rid of rather obscure set which stored missing IDs for delayed update
after the relations are up-to-date. New idea is to re-use the ID recalc flags and do needed
re-scheduling during depsgraph build. This is combined together with layers visibility check
so would not add extra slowdown or so.

This change also makes it so ob->recalc flags are properly set and reset, which was discovered
needed for the animation paths update and likely for other baking-like areas which does manual
scene update.

Commit Details:

Full Hash: d87f289ba7d633f6837289f91cf33c6daa1da16f
Parent Commit: 7a8722a
Lines Changed: +55, -46

5 Modified Paths:

/source/blender/blenkernel/intern/object_update.c (+8, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph.cpp (+0, -7) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+0, -9) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cpp (+27, -23) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cpp (+20, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021