diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2014-05-29 19:20:29 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2014-05-29 19:20:55 +0400 |
commit | 2057a3a2fcd545ad16fd77f789562727a5fd3f8b (patch) | |
tree | 88652f6d81d28126ab196d88922c663692c6dcc4 /source/blender/render/extern | |
parent | b2cad79500bb1af92153928479ca7d7144463e00 (diff) |
Proper fix T40156 Cycles Baking and applyRotation issues
This should be the final fix for the applyrotation issue. It baffles me
that the fix involves discarding the scale transformations for the
normals but it works so I'm happy with it.
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D554
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r-- | source/blender/render/extern/include/RE_bake.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/render/extern/include/RE_bake.h b/source/blender/render/extern/include/RE_bake.h index 6ae8300b9d1..b7cfe47c01b 100644 --- a/source/blender/render/extern/include/RE_bake.h +++ b/source/blender/render/extern/include/RE_bake.h @@ -61,9 +61,10 @@ typedef struct BakeHighPolyData { struct ModifierData *tri_mod; struct Mesh *me; char restrict_flag; - float mat_high[4][4]; - float imat_high[4][4]; - float scale; + + float obmat[4][4]; + float imat[4][4]; + float rotmat[4][4]; } BakeHighPolyData; /* external_engine.c */ |