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:
authorMartin Poirier <theeth@yahoo.com>2005-04-01 02:18:08 +0400
committerMartin Poirier <theeth@yahoo.com>2005-04-01 02:18:08 +0400
commit4db0cbc74151e78bb59a02b094fee7677705aa30 (patch)
tree8dce1cd3de37cb70676cbb5965276c7169d0a842 /source/blender/src/space.c
parent7532aa248f86571dc456f6247c507f110c4388b0 (diff)
Push/Pull (aka: non proportionnal resize, original idea by Robert Tiess) slipped in my last commit a bit, so might as well finish it.
Accesible with Shift-P (was free), the behavior is much like Shrink/Fatten. Pull mouse toward you to pull toward center, push away to push away. Constraint and PET works with it too, of course.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 7cb4cae4978..fd936da8eaf 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -1447,7 +1447,6 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
break;
case PKEY:
-
if(G.obedit) {
if(G.qual==LR_CTRLKEY || G.qual==(LR_SHIFTKEY|LR_CTRLKEY))
make_parent();
@@ -1455,9 +1454,13 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
separatemenu();
else if ((G.qual==0) && ELEM(G.obedit->type, OB_CURVE, OB_SURF))
separate_nurb();
+ else if (G.qual==LR_SHIFTKEY)
+ Transform(TFM_PUSHPULL, CTX_NONE);
}
else if(G.qual==LR_CTRLKEY || G.qual==(LR_SHIFTKEY|LR_CTRLKEY))
make_parent();
+ else if(G.qual==LR_SHIFTKEY)
+ Transform(TFM_PUSHPULL, CTX_NONE);
else if(G.qual==LR_ALTKEY)
clear_parent();
else if((G.qual==0)) {