Blender Git Loki

Git Commits -> Revision df274a8

Revision df274a8 by Joshua Leung (master)
December 21, 2008, 08:02 (GMT)
2.5 - Time operations to Animation Module

Moved time_ops.c contents to anim_ops.c, as the operators there are applicable to all other Animation Editors too. anim_ops.c will therefore contain all operators which will apply to all Animation Editors (i.e. change frame, frames/seconds display toggle, and soon Preview Range tools).

As such, added new global 'Animation' keymap like for View2D and Markers, which will ensure that these tools can be accessed in an uniform way across editors.
Note that the order that these things are added is important, as the Animation ones will often 'steal' events from the View2D and Markers ones if placed before the others. To prevent that, we'd need to be able to set boundboxes here...

Commit Details:

Full Hash: df274a8b58a9f3f9e4a6e34e76bb2fb2e06b7e3f
SVN Revision: 17980
Parent Commit: e2cca33
Lines Changed: +324, -166

1 Added Path:

/source/blender/editors/animation/anim_ops.c (+299, -0) (View)

10 Modified Paths:

/source/blender/editors/include/ED_anim_api.h (+6, -0) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -0) (Diff)
/source/blender/editors/interface/view2d_ops.c (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+5, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -0) (Diff)
/source/blender/editors/space_action/space_action.c (+3, -3) (Diff)
/source/blender/editors/space_api/spacetypes.c (+3, -0) (Diff)
/source/blender/editors/space_ipo/space_ipo.c (+1, -1) (Diff)
/source/blender/editors/space_time/space_time.c (+2, -2) (Diff)
/source/blender/editors/space_time/time_ops.c (+2, -159) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021