[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38533] branches/soc-2011-tomato/source/ blender/editors/space_clip/space_clip.c: Camera tracking integration

Sergey Sharybin g.ulairi at gmail.com
Wed Jul 20 13:02:26 CEST 2011


Revision: 38533
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38533
Author:   nazgul
Date:     2011-07-20 11:02:26 +0000 (Wed, 20 Jul 2011)
Log Message:
-----------
Camera tracking integration
===========================

Changed hotkeys for locking track:
- Ctrl-L for lock
- Alt-L for unlock

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/editors/space_clip/space_clip.c

Modified: branches/soc-2011-tomato/source/blender/editors/space_clip/space_clip.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/space_clip/space_clip.c	2011-07-20 10:51:47 UTC (rev 38532)
+++ branches/soc-2011-tomato/source/blender/editors/space_clip/space_clip.c	2011-07-20 11:02:26 UTC (rev 38533)
@@ -341,8 +341,11 @@
 	RNA_enum_set(kmi->ptr, "action", 2);
 
 	kmi= WM_keymap_add_item(keymap, "CLIP_OT_lock_tracks", LKEY, KM_PRESS, KM_CTRL, 0);
-	RNA_enum_set(kmi->ptr, "action", 2);
+	RNA_enum_set(kmi->ptr, "action", 0);
 
+	kmi= WM_keymap_add_item(keymap, "CLIP_OT_lock_tracks", LKEY, KM_PRESS, KM_ALT, 0);
+	RNA_enum_set(kmi->ptr, "action", 1);
+
 	transform_keymap_for_space(keyconf, keymap, SPACE_CLIP);
 }
 




More information about the Bf-blender-cvs mailing list