diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-06 04:39:55 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-06 04:39:55 +0300 |
commit | 4b0313bf82b246fde728d37358ae02955fc00970 (patch) | |
tree | 94f7b8a15edee0a8d07827e6600dbca3b446d091 /source/blender/windowmanager | |
parent | e1b92bc166ac27e29dfdbec315a7b6233d8724d2 (diff) |
2.5 Armature Editing - Restored 'Align Bones' (Ctrl Alt A)
* I've had to remap 'Duplicate window' to Ctrl Alt W instead...
* Fixed some bugs with armature context iterators for X-Axis Mirroring. Now, the code there checks for mirrored bones in the right way.
For details on how to write tools that need to cope with this option, refer to the 'Align Bones' operator. I'll port another simple operator as another good example soon.
Additional notes:
Currently, armature_sync_selection() is really buggy (not part of this commit), and needs further attention.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index f5e9520c702..3fff6c5aad8 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -912,7 +912,7 @@ static void wm_radial_control_paint(bContext *C, int x, int y, void *customdata) { wmRadialControl *rc = (wmRadialControl*)customdata; ARegion *ar = CTX_wm_region(C); - float r1, r2, r3, angle; + float r1=0.0f, r2=0.0f, r3=0.0f, angle=0.0f; /* Keep cursor in the original place */ x = rc->initial_mouse[0] - ar->winrct.xmin; @@ -1163,7 +1163,7 @@ void wm_window_keymap(wmWindowManager *wm) WM_keymap_verify_item(keymap, "WM_OT_jobs_timer", TIMERJOBS, KM_ANY, KM_ANY, 0); /* note, this doesn't replace existing keymap items */ - WM_keymap_verify_item(keymap, "WM_OT_window_duplicate", AKEY, KM_PRESS, KM_CTRL|KM_ALT, 0); + WM_keymap_verify_item(keymap, "WM_OT_window_duplicate", WKEY, KM_PRESS, KM_CTRL|KM_ALT, 0); WM_keymap_verify_item(keymap, "WM_OT_save_homefile", UKEY, KM_PRESS, KM_CTRL, 0); WM_keymap_verify_item(keymap, "WM_OT_open_recentfile", OKEY, KM_PRESS, KM_CTRL, 0); WM_keymap_verify_item(keymap, "WM_OT_open_mainfile", F1KEY, KM_PRESS, 0, 0); |