Blender Git Loki

Git Commits -> Revision ca0c6f1

Revision ca0c6f1 by Sergey Sharybin (depsgraph_refactor)
November 10, 2014, 15:14 (GMT)
Depsgraph: Bunch of node relation fixes, some other changes as well

This commit mainly ensures that relations between operations are more or less
correct (well, they're correct for the tests files i've got here), Namely:

- Added component relation between transform and geometry components.
This is a temporary workaround just to play around a bit, because it solves
some missing updates but also introduces unwanted updates.

For example, such relation solves missing updates of boolean modifier, but
introduces extra data updates when dragging default cube.

Think proper way to deal with this would be to make it so in the example above
boolean modifier adds a relation between modifier node and transform component.

- Added an uber object transform update, which is the last in the transform
component.

This way we can have proper object transform update without introducing storage
of the intermediate matricies for now.

This is a temporary solution for until we've got proper granularity.

- Made it so firts modifier depends on the object geometry.

- Made it so local constraints depends on local transform operation.

- Seems pose flush should depend on all the pose channels, otherwise what it is
gonna to flush?

- Fixed target key of constraint targeted to a bone.

This commit also gets rid of few temp hacks, and now the have working Victor rig.

Commit Details:

Full Hash: ca0c6f17924c7c2facc316102599074264888f35
Parent Commit: 16f1cfe
Lines Changed: +168, -65

8 Modified Paths:

/source/blender/blenkernel/BKE_object.h (+19, -7) (Diff)
/source/blender/blenkernel/intern/object.c (+6, -7) (Diff)
/source/blender/blenkernel/intern/object_update.c (+57, -25) (Diff)
/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp (+26, -6) (Diff)
/source/blender/depsgraph/intern/depsgraph_build_relations.cpp (+59, -17) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cpp (+0, -1) (Diff)
/source/blender/depsgraph/intern/stubs.h (+0, -1) (Diff)
/source/blender/modifiers/intern/MOD_hook.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021