diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-05 15:49:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-05 15:49:24 +0400 |
commit | f6ddb79e20d42a56460f9587326ceaeec1be2e13 (patch) | |
tree | 09dfee8f35a3d3c902be5c59483dac7a17376376 /source/blender/makesdna/DNA_mesh_types.h | |
parent | 4b940364a1dee78acdfe1ec319b35bb812faee29 (diff) |
fix [#30457] Smooth normals wrongly exported to wavefront
mesh.calc_normals() wasnt calculating vertex normals (only face normals),
now only calculate vertex normals.
added a define incase we want to have poly normals back again.
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_mesh_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index 9c20c33ce40..13186a9e780 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -227,6 +227,8 @@ typedef struct TFace { #define USE_BMESH_SAVE_AS_COMPAT #define USE_BMESH_SAVE_WITHOUT_MFACE +/* enable this to calculate mpoly normal layer and face origindex mapping */ +// #define USE_BMESH_MPOLY_NORMALS /* enable this so meshes get tessfaces calculated by default */ // #define USE_TESSFACE_DEFAULT |