Blender Git Commit Log
Git Commits -> Revision f0a4ce9
Revision f0a4ce9 by Ton Roosendaal (master) May 5, 2005, 17:19 (GMT) |
Added the new Timeline Window, copied from Tuhopuu, coded by Matt Ebb. Main change is that it's an own Space type now, not part of the Audio window... the audio window should restrict to own options. This way functionality is nicely separated. Since it's the first time I added a new space (since long!) I've made an extensive tutorial as well. You can find that here: http://www.blender3d.org/cms/Adding_new_Space_Window.557.0.html Notes for using timewindow; - Add time markers with MKey - CTRL+M gives option to name Marker - Markers cannot be moved yet... - Pageup-Pagedown keys moves current frame to next-prev Marker - Xkey removes Markers - If an object has Ipos or an Action, it draws key lines - CTRL+Pageup-Pagedown moves current frame to next-prev Key - Press S or E to set start/end frame for playback Notes about the implementation in Tuhopuu: - Add new Marker now selects new, deselects others - Selecting Marker didn't work like elsewhere in Blender, on click it should deselect all, except the indicated Marker. Not when holding SHIFT of course - Not exported functions are static now - Removed unused defines (MARKER_NONE NEXT_AVAIL) - Drawing order was confusing, doing too many matrix calls - Removed not needed scrollbar, added new function to draw time values. (Has advantage the MMB scroll works not confusing on a scrollbar) - Added proper support for 'frame mapping' - The string button (name Marker) had a bug (checked str[64] while str was only 64 long) - String button itself didn't allow "OK on enter" - Made frame buttons in header larger, the arrows overlapped - Removed support for negative frame values, that won't work so simple! |
Commit Details:
Full Hash: f0a4ce98f904fa9577e80c9bcd2b80da6847e365
SVN Revision: 4375
Parent Commit: 22f65bc
Lines Changed: +2900, -1436
4 Added Paths:
/source/blender/include/BSE_time.h (+47, -0) (View)
/source/blender/src/drawtime.c (+298, -0) (View)
/source/blender/src/edittime.c (+479, -0) (View)
/source/blender/src/header_time.c (+328, -0) (View)
/source/blender/src/drawtime.c (+298, -0) (View)
/source/blender/src/edittime.c (+479, -0) (View)
/source/blender/src/header_time.c (+328, -0) (View)
31 Modified Paths:
/source/blender/blenkernel/BKE_global.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/ipo.c (+30, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -11) (Diff)
/source/blender/blenloader/intern/writefile.c (+11, -0) (Diff)
/source/blender/include/BIF_resources.h (+24, -25) (Diff)
/source/blender/include/BIF_spacetypes.h (+1, -0) (Diff)
/source/blender/include/blendef.h (+25, -5) (Diff)
/source/blender/include/BSE_drawipo.h (+1, -0) (Diff)
/source/blender/include/BSE_headerbuttons.h (+3, -0) (Diff)
/source/blender/include/mydevice.h (+3, -2) (Diff)
/source/blender/include/transform.h (+3, -2) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+25, -11) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+20, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/src/blenderbuttons.c (+1379, -1318) (Diff)
/source/blender/src/buttons_object.c (+1, -0) (Diff)
/source/blender/src/buttons_scene.c (+2, -2) (Diff)
/source/blender/src/drawipo.c (+57, -10) (Diff)
/source/blender/src/editipo.c (+1, -3) (Diff)
/source/blender/src/editmesh_add.c (+4, -2) (Diff)
/source/blender/src/editmesh_lib.c (+1, -1) (Diff)
/source/blender/src/editscreen.c (+7, -0) (Diff)
/source/blender/src/headerbuttons.c (+4, -2) (Diff)
/source/blender/src/resources.c (+6, -2) (Diff)
/source/blender/src/SConscript (+3, -0) (Diff)
/source/blender/src/space.c (+101, -37) (Diff)
/source/blender/src/spacetypes.c (+2, -1) (Diff)
/source/blender/src/toolbox.c (+1, -1) (Diff)
/source/blender/src/usiblender.c (+12, -0) (Diff)
/source/blender/blenkernel/intern/ipo.c (+30, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -11) (Diff)
/source/blender/blenloader/intern/writefile.c (+11, -0) (Diff)
/source/blender/include/BIF_resources.h (+24, -25) (Diff)
/source/blender/include/BIF_spacetypes.h (+1, -0) (Diff)
/source/blender/include/blendef.h (+25, -5) (Diff)
/source/blender/include/BSE_drawipo.h (+1, -0) (Diff)
/source/blender/include/BSE_headerbuttons.h (+3, -0) (Diff)
/source/blender/include/mydevice.h (+3, -2) (Diff)
/source/blender/include/transform.h (+3, -2) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+25, -11) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+20, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/src/blenderbuttons.c (+1379, -1318) (Diff)
/source/blender/src/buttons_object.c (+1, -0) (Diff)
/source/blender/src/buttons_scene.c (+2, -2) (Diff)
/source/blender/src/drawipo.c (+57, -10) (Diff)
/source/blender/src/editipo.c (+1, -3) (Diff)
/source/blender/src/editmesh_add.c (+4, -2) (Diff)
/source/blender/src/editmesh_lib.c (+1, -1) (Diff)
/source/blender/src/editscreen.c (+7, -0) (Diff)
/source/blender/src/headerbuttons.c (+4, -2) (Diff)
/source/blender/src/resources.c (+6, -2) (Diff)
/source/blender/src/SConscript (+3, -0) (Diff)
/source/blender/src/space.c (+101, -37) (Diff)
/source/blender/src/spacetypes.c (+2, -1) (Diff)
/source/blender/src/toolbox.c (+1, -1) (Diff)
/source/blender/src/usiblender.c (+12, -0) (Diff)