Blender Git Loki
Git Commits -> Revision 096e2f0
Revision 096e2f0 by Joshua Leung (master) June 9, 2009, 11:26 (GMT) |
NLA SoC: Transform tools for NLA This commit restores transform support for NLA. Grab, scale, 'extend', and tweak (i.e. grab by just click+dragging) are implemented. Notes: - As soon as one end of a strip touches another adjacent strip (within the same track), that end stops moving. This has been done to avoid the situation where overlapping strips within the same track (which is not allowed) might be caused by transforms. - Made some changes to the RNA setters for the strip extents so that the validation above could take place (and other necessary changes on a per-strip basis could also occur). TODO's ? - Strips cannot be transferred from track to track using transforms. I've yet to decide whether this needs to be done, or whether a separate operator will suffice. - What happens to the range of Actions used when the strips change sizes unexpectedly (i.e. the no-overlap condition above)? Currently range stays the same, but this doesn't always seem desirable? |
Commit Details:
Full Hash: 096e2f0b5ab370fcc01a265ccf77eb71a2f03a43
SVN Revision: 20748
Parent Commit: 4b8b9b2
Lines Changed: +251, -97
7 Modified Paths:
/source/blender/editors/space_nla/nla_ops.c (+3, -1) (Diff)
/source/blender/editors/transform/transform.c (+3, -0) (Diff)
/source/blender/editors/transform/transform.h (+7, -0) (Diff)
/source/blender/editors/transform/transform_conversions.c (+158, -37) (Diff)
/source/blender/editors/transform/transform_generics.c (+44, -56) (Diff)
/source/blender/editors/transform/transform_ops.c (+13, -0) (Diff)
/source/blender/makesrna/intern/rna_nla.c (+23, -3) (Diff)
/source/blender/editors/transform/transform.c (+3, -0) (Diff)
/source/blender/editors/transform/transform.h (+7, -0) (Diff)
/source/blender/editors/transform/transform_conversions.c (+158, -37) (Diff)
/source/blender/editors/transform/transform_generics.c (+44, -56) (Diff)
/source/blender/editors/transform/transform_ops.c (+13, -0) (Diff)
/source/blender/makesrna/intern/rna_nla.c (+23, -3) (Diff)