Commit: bcb99b794d7176cf94cb87c483a0efa458b12ef7
Author: Campbell Barton
Date: Sun Mar 9 14:07:40 2014 +1100
https://developer.blender.org/rBbcb99b794d7176cf94cb87c483a0efa458b12ef7
Text Editor: Remove key binding for text/object conversion
This can freeze Blender if you accidentally press ctrl+m on a large
script, conversion from text to 3d objects is fairly special case,
restricting access to the menu only.
===================================================================
M source/blender/editors/space_text/space_text.c
===================================================================
diff --git a/source/blender/editors/space_text/space_text.c
b/source/blender/editors/space_text/space_text.c
index 2986408..875496d 100644
--- a/source/blender/editors/space_text/space_text.c
+++ b/source/blender/editors/space_text/space_text.c
@@ -312,11 +312,6 @@ static void text_keymap(struct wmKeyConfig *keyconf)
RNA_boolean_set(kmi->ptr, "selection", TRUE);
}
- kmi = WM_keymap_add_item(keymap, "TEXT_OT_to_3d_object", MKEY,
KM_PRESS, KM_ALT, 0);
- RNA_boolean_set(kmi->ptr, "split_lines", FALSE);
- kmi = WM_keymap_add_item(keymap, "TEXT_OT_to_3d_object", MKEY,
KM_PRESS, KM_CTRL, 0);
- RNA_boolean_set(kmi->ptr, "split_lines", TRUE);
-
WM_keymap_add_item(keymap, "TEXT_OT_select_all", AKEY, KM_PRESS,
KM_CTRL, 0);
WM_keymap_add_item(keymap, "TEXT_OT_select_line", AKEY, KM_PRESS,
KM_SHIFT | KM_CTRL, 0);
WM_keymap_add_item(keymap, "TEXT_OT_select_word", LEFTMOUSE,
KM_DBL_CLICK, 0, 0);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs