fix [#35670] Selectionmode LMB dont change the controlling for putting curve points...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 10 Jun 2013 02:28:19 +0000 (02:28 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 10 Jun 2013 02:28:19 +0000 (02:28 +0000)
source/blender/editors/armature/armature_ops.c
source/blender/editors/curve/curve_ops.c

index 3cf8c44f9aa5fa1fcc9db35276384ba82ca8757e..568178802bdd24425d578f81341cc005992caa5e 100644 (file)
@@ -267,7 +267,7 @@ void ED_keymap_armature(wmKeyConfig *keyconf)
        WM_keymap_add_item(keymap, "ARMATURE_OT_duplicate_move", DKEY, KM_PRESS, KM_SHIFT, 0);
        WM_keymap_add_item(keymap, "ARMATURE_OT_extrude_move", EKEY, KM_PRESS, 0, 0);
        WM_keymap_add_item(keymap, "ARMATURE_OT_extrude_forked", EKEY, KM_PRESS, KM_SHIFT, 0);
-       WM_keymap_add_item(keymap, "ARMATURE_OT_click_extrude", LEFTMOUSE, KM_CLICK, KM_CTRL, 0);
+       WM_keymap_add_item(keymap, "ARMATURE_OT_click_extrude", ACTIONMOUSE, KM_CLICK, KM_CTRL, 0);
        WM_keymap_add_item(keymap, "ARMATURE_OT_fill", FKEY, KM_PRESS, 0, 0);
        WM_keymap_add_item(keymap, "ARMATURE_OT_merge", MKEY, KM_PRESS, KM_ALT, 0);
        
index 07dd2b82a06fd3fab3283b83804482d1cd8e0690..03b7697ecfa40eddd5da9152ddca6a8286adf9ee 100644 (file)
@@ -223,7 +223,7 @@ void ED_keymap_curve(wmKeyConfig *keyconf)
        
        WM_keymap_add_item(keymap, "CURVE_OT_handle_type_set", VKEY, KM_PRESS, 0, 0);
 
-       WM_keymap_add_item(keymap, "CURVE_OT_vertex_add", LEFTMOUSE, KM_CLICK, KM_CTRL, 0);
+       WM_keymap_add_item(keymap, "CURVE_OT_vertex_add", ACTIONMOUSE, KM_CLICK, KM_CTRL, 0);
 
        kmi = WM_keymap_add_item(keymap, "CURVE_OT_select_all", AKEY, KM_PRESS, 0, 0);
        RNA_enum_set(kmi->ptr, "action", SEL_TOGGLE);