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-12 02:29:20 +0400
committerMartin Poirier <theeth@yahoo.com>2005-04-12 02:29:20 +0400
commit2123721b5b6f85188f9b48b93e912acf16be6199 (patch)
tree341b96e681a97e666a014dba838a02bf5a63786e /source/blender/src/transform.c
parenta3e5727f754b5a744968760be0949d179447c380 (diff)
Transform constraints with Ykey were mixed up, setting text to global
instead of local and vice versa. Thanks to GSR's email for helping me notice that.
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-xsource/blender/src/transform.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index f8d42600cbb..c7297b64819 100755
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -357,17 +357,17 @@ void Transform(int mode, int context)
}
else if(cmode == 'y') {
if (G.qual == 0)
- setLocalConstraint(&Trans, (CON_AXIS1), "along global Y");
+ setLocalConstraint(&Trans, (CON_AXIS1), "along local Y");
else if (G.qual == LR_SHIFTKEY)
- setLocalConstraint(&Trans, (CON_AXIS0|CON_AXIS2), "locking global Y");
+ setLocalConstraint(&Trans, (CON_AXIS0|CON_AXIS2), "locking local Y");
cmode = 'Y';
}
else {
if (G.qual == 0)
- setConstraint(&Trans, mati, (CON_AXIS1), "along local Y");
+ setConstraint(&Trans, mati, (CON_AXIS1), "along global Y");
else if (G.qual == LR_SHIFTKEY)
- setConstraint(&Trans, mati, (CON_AXIS0|CON_AXIS2), "locking local Y");
+ setConstraint(&Trans, mati, (CON_AXIS0|CON_AXIS2), "locking global Y");
cmode = 'y';
}