Blender Git Loki

Git Commits -> Revision 56b67d4

Revision 56b67d4 by Joshua Leung (master)
April 6, 2010, 04:25 (GMT)
Bugfix #21916: Baking NLA strips doesn't group transforms

- Added an optional string arg to struct.keyframe_insert() and struct.keyframe_delete() for the name of the group to add the keyframes to (for newly created F-Curves), instead of doing this as post process.

- Added error prints to the RNA function for setting an F-Curve's group. The old way of setting the groups afterwards couldn't be used anymore, since there was no way to find the action the F-Curve belonged to. This is necessary if the F-Curve list is to be kept in a valid state, since adding to any random group that may not be in the same Action does not work well. There were other issues with the list being iterated over changing while it was still being iterated over too...

TODO:
Find a way to allow the iterator there to still work ok?

Commit Details:

Full Hash: 56b67d41aa7addd1aa1757e9870bc1e8ea4ad295
SVN Revision: 28030
Parent Commit: 825c162
Lines Changed: +23, -30

3 Modified Paths:

/release/scripts/op/nla.py (+5, -20) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+2, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+16, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021