Blender Git Loki

Git Commits -> Revision 6ff4a72

Revision 6ff4a72 by Joshua Leung (master)
June 20, 2009, 11:44 (GMT)
NLA SoC: Conversion fixes - Curve 'Speed' Curves + Constraints

These fixes get the 'pathJumper.blend' file from our testing suite workable in 2.5 (with a few minor tweaks still needed *)

Changes required:
- Added a 'ctime' var to curve structs for storing the value that used to be obtained by specially evaluating the 'speed' curve when evaluating objects parented to the curve. This can now be animated as a 'proper' var as per normal.
- Added a special hack for detecting constraint blocks, as the old method resulted in paths for Objects instead...

(*) Issues:
- Unfortunately, the paths still don't work out of the box. For some reason, the constraint names in the paths are spelt incorrectly - "Ar" and "Br" instead of "Ap" and "Bp". I'm not sure where this problem is coming from, but changing the paths manually in the Datablocks viewer fixes this error...
- I noticed that in the buttons view, only 1st of the constraints gets shown. This seems a bit like some of the intermittent problems I've had with some arrays/lists not expanding properly in Datablocks view.

Commit Details:

Full Hash: 6ff4a7229f316548046ab5593070b082cc1a4a7a
SVN Revision: 21030
Parent Commit: ef7860e
Lines Changed: +39, -13

5 Modified Paths:

/source/blender/blenkernel/intern/anim_sys.c (+13, -1) (Diff)
/source/blender/blenkernel/intern/ipo.c (+9, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+8, -8) (Diff)
/source/blender/makesdna/DNA_curve_types.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021