diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-22 22:31:23 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-22 22:31:23 +0300 |
commit | 3b0c42136bcdb7cd95130df682f61ba77f8cee79 (patch) | |
tree | 319dfe155faee3d9ed68279be45066068f4a7a76 /source/blender/editors/space_outliner/outliner_ops.c | |
parent | 9e38e6aeb03e29d053679141134875edbff23d4a (diff) |
2.5
Our precious outliner is back! :)
Currently no operations are active there, nor notifiers to refresh
other windows. Be patient!
You can switch to RNA with the 'view' menu.
Later we'll sort out how much of both get integrated in 1 system, or
have both options, or make designated 'data view' for rna? ALso the
old Oops... bring back?
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_ops.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_ops.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_ops.c b/source/blender/editors/space_outliner/outliner_ops.c index c512b495a5c..786f1643b9b 100644 --- a/source/blender/editors/space_outliner/outliner_ops.c +++ b/source/blender/editors/space_outliner/outliner_ops.c @@ -28,15 +28,29 @@ #include <stdlib.h> +#include "DNA_space_types.h" #include "DNA_windowmanager_types.h" +#include "WM_api.h" +#include "WM_types.h" +#include "ED_screen.h" + +#include "outliner_intern.h" + /* ************************** registration **********************************/ + + void outliner_operatortypes(void) { + WM_operatortype_append(ED_OUTLINER_OT_activate_click); } void outliner_keymap(wmWindowManager *wm) { + ListBase *keymap= WM_keymap_listbase(wm, "Outliner", SPACE_OOPS, 0); + + WM_keymap_verify_item(keymap, "ED_OUTLINER_OT_activate_click", LEFTMOUSE, KM_PRESS, 0, 0); + } |