Blender Git Loki

Git Commits -> Revision 391c5fb

Revision 391c5fb by Joshua Leung (master)
May 21, 2010, 12:17 (GMT)
Motion Paths: Experimental optimisations from joeedh for speeding up the calculation process

This works by tricking the depsgraph into giving us a smaller list of objects to evaluate, with all the necessary objects + their dependencies at the start of the list.

On any complicated setup where non-object parameters need to be referred to (i.e. by drivers) to affect an object's transform, these optimisations will fail and the old (slower) method is still the best way (modify the ifdef and comment out the optimise depsgraph call to do so). However, we'll assume that these aren't too common in real productions, so things should be fine with these fixes. If there really is a need for both, then global options to control these things could follow.

Commit Details:

Full Hash: 391c5fba71a2bbb68598c168dcb6e0651924a001
SVN Revision: 28903
Parent Commit: d531638
Lines Changed: +88, -11

3 Modified Paths:

/source/blender/blenkernel/intern/anim.c (+84, -8) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021