Blender Git Commit Log
Git Commits -> Revision 52f5516
Revision 52f5516 by Joshua Leung (master) September 17, 2007, 11:41 (GMT) |
== Action Editor - Copy and Paste Tools == Now it is possible to do Copy+Paste in the Action Editor, like in the IPO Editor. There are two new buttons in the Action Editor header for this, using the familiar icons. * To copy... Select the keyframes you wish to copy, and the channels that they occur in (except for ShapeKey mode, where it is not possible to select channels). Click copy button. * To paste... Place the current frame where you want the first of the keyframes from the buffer is to be pasted. Select all channels you wish the keyframes to be pasted into. Click paste button. Currently, keyframes are only pasted into 'compatible' curves (i.e. LocX keyframes can only go to LocX, and so on). This may change after user feedback, if this is found to be too restrictive. == Code Changes == I've made a few changes which allow this code to be nicer. * renamed insert_vert_ipo to insert_vert_icu, as that represents its actual purpose better (and changed all occurrences I could find) * created a new function, insert_bezt_icu, which does the actual inserting of provided BezTriple data to a given IpoCurve * recoded insert_vert_icu to use this new function, and also the IPO-Editor keyframe pasting (i.e. pasting in Editmode) |
Commit Details:
Full Hash: 52f551678b3c9020bad91041ad28a71d4e776140
SVN Revision: 12065
Parent Commit: 023a929
Lines Changed: +329, -144
16 Modified Paths:
/source/blender/blenkernel/bad_level_call_stubs/stubs.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/action.c (+5, -6) (Diff)
/source/blender/include/BIF_editaction.h (+8, -2) (Diff)
/source/blender/include/blendef.h (+2, -0) (Diff)
/source/blender/include/BSE_editipo.h (+3, -1) (Diff)
/source/blender/python/api2_2x/Constraint.c (+2, -2) (Diff)
/source/blender/python/api2_2x/Ipo.c (+1, -1) (Diff)
/source/blender/python/api2_2x/Ipocurve.c (+2, -2) (Diff)
/source/blender/python/api2_2x/Object.c (+1, -1) (Diff)
/source/blender/src/buttons_object.c (+2, -2) (Diff)
/source/blender/src/drawaction.c (+1, -1) (Diff)
/source/blender/src/editaction.c (+166, -3) (Diff)
/source/blender/src/editipo.c (+95, -104) (Diff)
/source/blender/src/editkey.c (+2, -2) (Diff)
/source/blender/src/header_action.c (+35, -15) (Diff)
/source/blender/src/usiblender.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+5, -6) (Diff)
/source/blender/include/BIF_editaction.h (+8, -2) (Diff)
/source/blender/include/blendef.h (+2, -0) (Diff)
/source/blender/include/BSE_editipo.h (+3, -1) (Diff)
/source/blender/python/api2_2x/Constraint.c (+2, -2) (Diff)
/source/blender/python/api2_2x/Ipo.c (+1, -1) (Diff)
/source/blender/python/api2_2x/Ipocurve.c (+2, -2) (Diff)
/source/blender/python/api2_2x/Object.c (+1, -1) (Diff)
/source/blender/src/buttons_object.c (+2, -2) (Diff)
/source/blender/src/drawaction.c (+1, -1) (Diff)
/source/blender/src/editaction.c (+166, -3) (Diff)
/source/blender/src/editipo.c (+95, -104) (Diff)
/source/blender/src/editkey.c (+2, -2) (Diff)
/source/blender/src/header_action.c (+35, -15) (Diff)
/source/blender/src/usiblender.c (+2, -0) (Diff)