Missed one of the tweak operator for nodes when adding new param.
authorMartin Poirier <theeth@yahoo.com>
Mon, 5 Apr 2010 00:06:06 +0000 (00:06 +0000)
committerMartin Poirier <theeth@yahoo.com>
Mon, 5 Apr 2010 00:06:06 +0000 (00:06 +0000)
source/blender/editors/transform/transform_ops.c

index 6059d9d46973e662cbcb46adf301fb708f1ba547..eba6482c8849e21e01718713d7a657d7a7fdf7b0 100644 (file)
@@ -864,6 +864,7 @@ void transform_keymap_for_space(wmKeyConfig *keyconf, wmKeyMap *keymap, int spac
                        km= WM_keymap_add_item(keymap, OP_TRANSLATION, GKEY, KM_PRESS, 0, 0);
 
                        km= WM_keymap_add_item(keymap, OP_TRANSLATION, EVT_TWEAK_A, KM_ANY, 0, 0);
+                       RNA_enum_set(km->ptr, "release_confirm", 1);
                        km= WM_keymap_add_item(keymap, OP_TRANSLATION, EVT_TWEAK_S, KM_ANY, 0, 0);
                        RNA_enum_set(km->ptr, "release_confirm", 1);