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:
authorJean-Luc Peurière <jlp@nerim.net>2008-03-21 20:00:40 +0300
committerJean-Luc Peurière <jlp@nerim.net>2008-03-21 20:00:40 +0300
commit32b5138e6459df5298ca50865dafab4d22a4aeed (patch)
tree8ba947a61d91fe051e9c3a864f5e0ca61968bca1 /source/blender/src/space.c
parent473ba6ac718bc32b4fc6c6aee4d03673cf62936c (diff)
parentdf1ba7da75f9b82f81693d5e0adfec29b2f4a424 (diff)
update to trunk r14199ndof
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 15ed21d3d1a..0cc1764854a 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -1793,10 +1793,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
case AKEY:
if (G.obedit == 0 && G.qual == (LR_CTRLKEY|LR_ALTKEY)) {
- if(okee("Align to Transform Orientation")) {
- initTransform(TFM_ALIGN, CTX_NO_PET|CTX_AUTOCONFIRM);
- Transform();
- }
+ alignmenu();
}
else if(G.qual & LR_CTRLKEY) { /* also with shift! */
apply_object();
@@ -2156,18 +2153,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;
@@ -5321,6 +5317,10 @@ static void winqreadimagespace(ScrArea *sa, void *spacedata, BWinEvent *evt)
else if((G.qual==0))
hide_tface_uv(0);
break;
+ case IKEY:
+ if(G.qual==LR_CTRLKEY)
+ select_invert_tface_uv();
+ break;
case LKEY:
if(G.qual==0)
select_linked_tface_uv(0);