Revision: 23157
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23157
Author:   billrey
Date:     2009-09-12 21:11:34 +0200 (Sat, 12 Sep 2009)

Log Message:
-----------
As discussed with Campbell on IRC:

Made some UI operators not register themselves in the console. This made macro 
creation a pain because the operator list would have tons of splits and other 
UI commends mixed in with actual data manipulation.

Moved Repeat Last from Ctrl-R to Shift-R so it doesn't conflict with loop cut, 
whenever it is added.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/screen/screen_ops.c

Modified: trunk/blender/source/blender/editors/screen/screen_ops.c
===================================================================
--- trunk/blender/source/blender/editors/screen/screen_ops.c    2009-09-12 
18:52:26 UTC (rev 23156)
+++ trunk/blender/source/blender/editors/screen/screen_ops.c    2009-09-12 
19:11:34 UTC (rev 23157)
@@ -1261,7 +1261,7 @@
        ot->modal= area_split_modal;
        
        ot->poll= ED_operator_areaactive;
-       ot->flag= OPTYPE_REGISTER|OPTYPE_BLOCKING;
+       ot->flag= OPTYPE_BLOCKING;
        
        /* rna */
        RNA_def_enum(ot->srna, "direction", prop_direction_items, 'h', 
"Direction", "");
@@ -2127,7 +2127,7 @@
 //     ot->invoke= WM_operator_confirm;
        ot->exec= region_foursplit_exec;
        ot->poll= ED_operator_areaactive;
-       ot->flag= OPTYPE_REGISTER;
+       ot->flag= 0;
 }
 
 
@@ -2165,7 +2165,7 @@
        ot->exec= region_flip_exec;
        
        ot->poll= ED_operator_areaactive;
-       ot->flag= OPTYPE_REGISTER;
+       ot->flag= 0;
 
 }
 
@@ -3327,10 +3327,8 @@
        WM_keymap_add_item(keymap, "SCREEN_OT_region_foursplit", SKEY, 
KM_PRESS, KM_CTRL|KM_ALT|KM_SHIFT, 0);
        
        WM_keymap_verify_item(keymap, "SCREEN_OT_repeat_history", F3KEY, 
KM_PRESS, 0, 0);
-       #ifdef __APPLE__
-       WM_keymap_add_item(keymap, "SCREEN_OT_repeat_last", RKEY, KM_PRESS, 
KM_OSKEY, 0);
-       #endif
-       WM_keymap_add_item(keymap, "SCREEN_OT_repeat_last", RKEY, KM_PRESS, 
KM_CTRL, 0);
+
+       WM_keymap_add_item(keymap, "SCREEN_OT_repeat_last", RKEY, KM_PRESS, 
KM_SHIFT, 0);
        
        WM_keymap_add_item(keymap, "SCREEN_OT_region_flip", F5KEY, KM_PRESS, 0, 
0);
        WM_keymap_verify_item(keymap, "SCREEN_OT_redo_last", F6KEY, KM_PRESS, 
0, 0);


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to