=== Transform ===

Bug #3657

Texture Space transform
* grab/size: did not support local constraints properly
* size: constraint support did not respect object orientation
This commit is contained in:
2006-05-14 17:02:56 +00:00
parent 422d2e3a89
commit ee2baaf3e3
2 changed files with 3 additions and 1 deletions

View File

@@ -1429,7 +1429,7 @@ static void ElementResize(TransInfo *t, TransData *td, float mat[3][3]) {
if (td->ext) {
float fsize[3];
if (t->flag & T_OBJECT) {
if (t->flag & (T_OBJECT|T_TEXTURE)) {
float obsizemat[3][3];
// Reorient the size mat to fit the oriented object.
Mat3MulMat3(obsizemat, tmat, td->axismtx);