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:
authorDalai Felinto <dfelinto@gmail.com>2014-05-29 19:20:29 +0400
committerDalai Felinto <dfelinto@gmail.com>2014-05-29 19:20:55 +0400
commit2057a3a2fcd545ad16fd77f789562727a5fd3f8b (patch)
tree88652f6d81d28126ab196d88922c663692c6dcc4 /source/blender/render/extern
parentb2cad79500bb1af92153928479ca7d7144463e00 (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.h7
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 */