Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-03-20 01:46:06 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-03-20 01:46:06 +0300
commit1ced0b5e10c8a1c2448af40564409b885a4c4fdf (patch)
tree7028a36fba92195b3a00a95c99322d76b6f53b14 /source/blender/src/space.c
parentb400168e6d21ad66d49dae6eaab2b40bb4c864a0 (diff)
* add CTRL-I for Invert Selection in object mode.
* sanitise IKEY handling block for view3d (really weird if-structure)
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index c2662e04f39..d3d8834f301 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -2104,18 +2104,17 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
}
break;
case IKEY:
- if(G.obedit) {
- if(G.qual==LR_CTRLKEY)
+ if(G.qual==LR_CTRLKEY) {
+ if(ob && (ob->flag & OB_POSEMODE) && ob->type==OB_ARMATURE)
+ pose_add_IK();
+ else if(ob && G.obedit)
selectswap_mesh();
- } else if(G.qual==LR_CTRLKEY) {
- if(ob && ob->type==OB_ARMATURE)
- if(ob->flag & OB_POSEMODE)
- pose_add_IK();
+ else
+ selectswap();
}
else if(G.qual==LR_ALTKEY) {
- if(ob && ob->type==OB_ARMATURE)
- if(ob->flag & OB_POSEMODE)
- pose_clear_IK();
+ if(ob && (ob->flag & OB_POSEMODE) && ob->type==OB_ARMATURE)
+ pose_clear_IK();
}
break;