diff options
author | Ton Roosendaal <ton@blender.org> | 2009-02-19 19:22:07 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-02-19 19:22:07 +0300 |
commit | f377be3783937e5979efa9952296af1a72909a54 (patch) | |
tree | 23dfddd78c2454a60ea819b188aa6e5e2a7f4f54 /source/blender/editors/armature | |
parent | 521a18f5a2cf043ba3e4254c3840fbc9f3e8906e (diff) |
2.5
Assorted smaller fixes:
- Fix: modal keymaps for editmode in view3d were not set again
when you copy areas or go fullscreen.
- Improved "redo last op" (F6) to search back in history for
a redoable operator. Operator also used wrong pupmenu type.
- On creating new FCurve editor, the channel rainbow colors are
set correct.
- EditMesh: fixed code for Spin/Screw, correct props, init and
error reporting. (Spin hotkey ALT+R temporary)
- recompiled all to check for uninitialized variable warnings.
(compile flag should be -O for this). Fixed some proto's.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/editarmature.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c index 1778ca8fa45..403e5750030 100644 --- a/source/blender/editors/armature/editarmature.c +++ b/source/blender/editors/armature/editarmature.c @@ -1299,7 +1299,7 @@ static void selectconnected_posebonechildren (Object *ob, Bone *bone) /* previously known as "selectconnected_posearmature" */ static int pose_select_connected_invoke(bContext *C, wmOperator *op, wmEvent *event) { - Bone *bone, *curBone, *next; + Bone *bone, *curBone, *next= NULL; int shift= 0; // XXX in pose mode, Shift+L is bound to another command // named "PoseLib Add Current Pose" int x, y; @@ -3045,7 +3045,6 @@ static int armature_bone_primitive_add_exec(bContext *C, wmOperator *op) { RegionView3D *rv3d= CTX_wm_region_view3d(C); Object *obedit = CTX_data_edit_object(C); - bArmature *arm= (bArmature *)obedit->data; EditBone *bone; float obmat[3][3], curs[3], viewmat[3][3], totmat[3][3], imat[3][3]; char name[32]; |