Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-04-29 17:18:29 +0400
committerThomas Dinges <blender@dingto.org>2013-04-29 17:18:29 +0400
commit202cd77ea9ac6b85a238e64185da9e38d70231fe (patch)
tree91c7553b7447f1aac745dad0eba027b982df2a37 /source/blender/editors/space_clip
parent44f49fbe2f1f8ccb93f79d2d27d24c3a36c5ade3 (diff)
Fix for [#35146] Move Clip Editor: "T-key panel" bug
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/space_clip.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c
index 96e127cfde6..baedc471c79 100644
--- a/source/blender/editors/space_clip/space_clip.c
+++ b/source/blender/editors/space_clip/space_clip.c
@@ -1362,7 +1362,12 @@ static void clip_header_area_listener(ARegion *ar, wmNotifier *wmn)
/* add handlers, stuff you only do once or on area/region changes */
static void clip_tools_area_init(wmWindowManager *wm, ARegion *ar)
{
+ wmKeyMap *keymap;
+
ED_region_panels_init(wm, ar);
+
+ keymap = WM_keymap_find(wm->defaultconf, "Clip", SPACE_CLIP, 0);
+ WM_event_add_keymap_handler(&ar->handlers, keymap);
}
static void clip_tools_area_draw(const bContext *C, ARegion *ar)