Blender Git Commit Log
Git Commits -> Revision 7f0dc54
Revision 7f0dc54 by Joshua Leung (master) November 9, 2006, 08:43 (GMT) |
This commit adds two of my recent animation editing related patches: #5061 - Ipo/Action 'Cleaning' #5071 - 'Only Needed' Keyframing Option ==================== * IPO/Action 'Cleaning': It removes un-necessary keyframes from individual ipo curves. - In both editors, the hotkey is currently the OKEY. Also accesable from menus of each editor. - There is currently a 'threshold' popup. This sets the value that the cleaner uses to determine if two keys have same time/value There are a few improvements that could still be made, such as: - There are a few cases that it still doesn't handle yet, such as when un-needed keyframes lie on a linear line (and similiar cases). This shall be improved soon. - Also, for some reason, after running cleaning while in ipo editor editmode, all but the active curve are hidden. ==================== * 'Only Needed' Keyframing Option: This patch adds a new keyframing option for objects and bones. It only adds keyframes where they are needed, judging from the surrounding points on that curve. Notes about this keyframing option: - Works like the existing 'Avail' option, except it checks if the keyframe is needed. - Currently uses hardcoded threshold for determining if same value. [quote] /* Cases where keyframes should not be added: * 1. Keyframe to be added bewteen two keyframes with similar values * 2. Keyframe to be added between two keyframes with similar times * 3. Keyframe lies at point that intersects the linear line between two keyframes */ [/unquote] |
Commit Details:
Full Hash: 7f0dc54f61cc5b443e2aba09d0d8c06b0c6a718c
SVN Revision: 8797
Parent Commit: bdadf4f
Lines Changed: +461, -4
8 Modified Paths:
/source/blender/include/BIF_editaction.h (+2, -0) (Diff)
/source/blender/include/BSE_editipo.h (+4, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+4, -0) (Diff)
/source/blender/src/editaction.c (+89, -1) (Diff)
/source/blender/src/editipo.c (+340, -3) (Diff)
/source/blender/src/header_action.c (+12, -0) (Diff)
/source/blender/src/header_ipo.c (+7, -0) (Diff)
/source/blender/src/space.c (+3, -0) (Diff)
/source/blender/include/BSE_editipo.h (+4, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+4, -0) (Diff)
/source/blender/src/editaction.c (+89, -1) (Diff)
/source/blender/src/editipo.c (+340, -3) (Diff)
/source/blender/src/header_action.c (+12, -0) (Diff)
/source/blender/src/header_ipo.c (+7, -0) (Diff)
/source/blender/src/space.c (+3, -0) (Diff)