Blender Git Loki

Git Commits -> Revision f49e441

Revision f49e441 by Sergey Sharybin (master)
July 3, 2013, 12:32 (GMT)
Get rid of crazy DAG nodes coloring when doing threaded update

DAG node already has got type field, so we could just check whether
type is ID_OB to distinguish whether object_handle_update need to
be called for node->ob.

This saves iterating via scene's bases when preparing threaded
update. This also will very much likely update objects which are
not in the scene base are used in dupli groups.

So now objects form dupli_groups are likely already properly updated
white traversing the DAG with threaded update and special hacks
are needed from main thread to update objects from dupli_groups
which was added in previous commit.

However, kept this hack for a while, need some more thoughts
and investigation.

Commit Details:

Full Hash: f49e4419275203d4a117089900f7af1e95d1749b
SVN Revision: 57957
Parent Commit: 4e9d469
Lines Changed: +10, -26

2 Modified Paths:

/source/blender/blenkernel/intern/depsgraph.c (+1, -26) (Diff)
/source/blender/blenkernel/intern/scene.c (+9, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021