diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-23 22:47:33 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-23 22:47:33 +0300 |
commit | b38f6e7d184c6226de34bde375aa1ce5332c7665 (patch) | |
tree | ffe165247ef5b9c2621e226a62bdc7478ec37219 /source/blender/editors/space_api/spacetypes.c | |
parent | 93d9e7749df0a9fd89360ca9347f2fce1ac5dc29 (diff) |
2.5
Object: converted the old horrible editobject.c, now as file:
editors/object/object_edit.c
Still lots of WIP, I've operatorified "Make Parent". Check here
the new API at work: http://pasteall.org/3650/c
IMPORTANT NOTE FOR BRECHT:
game property defines were clashing with RNA, i've renamed game
defines for now.
Diffstat (limited to 'source/blender/editors/space_api/spacetypes.c')
-rw-r--r-- | source/blender/editors/space_api/spacetypes.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index ebfab2a8318..3547e201012 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -38,6 +38,7 @@ #include "BIF_gl.h" #include "ED_screen.h" +#include "ED_object.h" #include "ED_space_api.h" #include "ED_anim_api.h" @@ -81,8 +82,9 @@ void ED_spacetypes_init(void) /* register operator types for screen and all spaces */ ED_operatortypes_screen(); - ui_view2d_operatortypes(); ED_operatortypes_anim(); + ED_operatortypes_object(); + ui_view2d_operatortypes(); spacetypes = BKE_spacetypes_list(); for(type=spacetypes->first; type; type=type->next) @@ -99,8 +101,9 @@ void ED_spacetypes_keymap(wmWindowManager *wm) ARegionType *atype; ED_keymap_screen(wm); - UI_view2d_keymap(wm); ED_keymap_anim(wm); + ED_keymap_object(wm); + UI_view2d_keymap(wm); spacetypes = BKE_spacetypes_list(); for(stype=spacetypes->first; stype; stype=stype->next) { |