diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-23 16:54:21 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-23 17:27:23 +0300 |
commit | 69ad44d5b48aa0d2cf00ff6c37be01f7384afe3b (patch) | |
tree | bb2a10a9a857191716a4cab1ef30a81ca6ce40f3 /source/blender/editors/transform | |
parent | 9208146199019e111711f077abcda31f976cabcc (diff) |
Cleanup: remove unimplemented texture space rotation variables
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform_convert_object.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_convert_object.c b/source/blender/editors/transform/transform_convert_object.c index 6142e9628a4..a32f533cc89 100644 --- a/source/blender/editors/transform/transform_convert_object.c +++ b/source/blender/editors/transform/transform_convert_object.c @@ -930,11 +930,13 @@ void createTransTexspace(TransInfo *t) normalize_m3(td->axismtx); pseudoinverse_m3_m3(td->smtx, td->mtx, PSEUDOINVERSE_EPSILON); - if (BKE_object_obdata_texspace_get(ob, &texflag, &td->loc, &td->ext->size, &td->ext->rot)) { + if (BKE_object_obdata_texspace_get(ob, &texflag, &td->loc, &td->ext->size)) { ob->dtx |= OB_TEXSPACE; *texflag &= ~ME_AUTOSPACE; } + zero_v3(td->ext->rot); + copy_v3_v3(td->iloc, td->loc); copy_v3_v3(td->ext->irot, td->ext->rot); copy_v3_v3(td->ext->isize, td->ext->size); |