Blender Git Commit Log

Git Commits -> Revision 3330e46

Revision 3330e46 by Sergey Sharybin (depsgraph_refactor)
November 7, 2014, 13:13 (GMT)
Depsgraph: Hook up constraints evaluation callback

Quite straightforward. There's one extra flag to the old object where_is
which helps preventing duplicated code needed for old dependency graph
system In the future we'll get rid of this argument and decouple all the
functions in a nice way.

One retarded issue is setting negative scale flag on the object, which
currently happens in both local transform and constraints update.

Bigger issue here is the original object matrix which should be used
as an input for the constraints stack. Currently constraints will operate
on the previous final object matrix when changing the dependencies of the
constraint list.

This is possible to solve by storing intermediate data in the graph
(or somewhere else(, but for until that's nicely implemented we'll probably
couple constraints back. Will investigate this further.

Commit Details:

Full Hash: 3330e4676c639a200b8d2212f6dd539c56cc141d
Parent Commit: d04b16b3
Lines Changed: +49, -17

8 Modified Paths:

/source/blender/blenkernel/BKE_object.h (+5, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+9, -5) (Diff)
/source/blender/blenkernel/intern/object_update.c (+25, -5) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp (+3, -3) (Diff)
/source/blender/depsgraph/intern/depsgraph_build_relations.cpp (+6, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cpp (+0, -1) (Diff)
/source/blender/depsgraph/intern/stubs.h (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021