diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-23 17:43:25 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-23 17:43:25 +0300 |
commit | 66437a62a73966de8ccb673473ba69d6c1ed66a3 (patch) | |
tree | 6b200663643b67dea804e8b9805abf128a010493 /source/blender/editors/space_api | |
parent | f4133b730c93f6db985b6751d18b72ea7f429c34 (diff) |
2.5
Font object + editing back.
Was quite some work due to a myriad of globals all over!
Works nicely 100% local now.
To enable a single textedit operator, I've added a new
keymap entry KM_TEXTEDIT, which gives all keyboard events
to the handler. Also had to add a new keymap-add function
to force a keymap handler in beginning of region handlers.
In future this can be used to prioritize handlers.
Also: split off the arrow keys (frame change) to a separate
region level handler. Can be set with default flag in
regiontype->keymapflag ED_KEYMAP_FRAMES
Diffstat (limited to 'source/blender/editors/space_api')
-rw-r--r-- | source/blender/editors/space_api/spacetypes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index b7fc3b3a5f8..829c530481f 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -40,6 +40,7 @@ #include "BIF_gl.h" #include "ED_anim_api.h" +#include "ED_curve.h" #include "ED_mesh.h" #include "ED_object.h" #include "ED_sculpt.h" @@ -79,6 +80,7 @@ void ED_spacetypes_init(void) ED_operatortypes_mesh(); ED_operatortypes_sculpt(); ED_operatortypes_uvedit(); + ED_operatortypes_curve(); ui_view2d_operatortypes(); spacetypes = BKE_spacetypes_list(); @@ -101,6 +103,7 @@ void ED_spacetypes_keymap(wmWindowManager *wm) ED_keymap_object(wm); ED_keymap_mesh(wm); ED_keymap_uvedit(wm); + ED_keymap_curve(wm); UI_view2d_keymap(wm); spacetypes = BKE_spacetypes_list(); |