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-22 05:14:15 +0400
committerMartin Poirier <theeth@yahoo.com>2005-04-22 05:14:15 +0400
commitc1a7b8b7a10428e6d50119fb51ef2c0c8efd3309 (patch)
tree869a495d9c35da96c21dc00189d521f65efa91de /source/blender/src/transform.c
parent589ce4a005ce16c5a628cd51819e20623a23c891 (diff)
Local axis constraints for pose mode. Added
Camera rotation fix (was off centered because it used persinv instead of viewinv. Now rotation center is always center screen in camera mode. (Still need to fix the helpline not showing) Numinput constraint function was no good, didn't check if a constraint was even on... Fixed. Rotation was missing constraint text in header print. Fixed.
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-xsource/blender/src/transform.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index 4e86877f0c1..25011e2f4b4 100755
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -1000,7 +1000,9 @@ int Resize(TransInfo *t, short mval[2])
float obsizemat[3][3];
// Reorient the size mat to fit the oriented object.
Mat3MulMat3(obsizemat, tmat, td->axismtx);
+ //printmatrix3("obsizemat", obsizemat);
Mat3ToSize(obsizemat, fsize);
+ //printvecf("fsize", fsize);
}
else {
Mat3ToSize(tmat, fsize);
@@ -1374,7 +1376,7 @@ int Rotation(TransInfo *t, short mval[2])
final *= (float)(M_PI / 180.0);
}
else {
- sprintf(str, "Rot: %.2f %s", 180.0*final/M_PI, t->proptext);
+ sprintf(str, "Rot: %.2f%s %s", 180.0*final/M_PI, t->con.text, t->proptext);
}
VecRotToMat3(axis, final * td->factor, mat);