diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-03-26 11:28:24 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-03-26 11:28:24 +0300 |
commit | 63e40dbe0e4fcee2f96eb0f16bc511e019e0d509 (patch) | |
tree | 24e49ca9db303b52fb9d8fd190b7a23f4f71239b /source/blender/blenlib | |
parent | 02a7063a0922c6c59a9f71ea2627e4f211a79899 (diff) |
Fix #26582, #26586, #26613: recent normal calculation changes didn't take
into account that some tools use normals for things other than display. Now
we properly initialize vertex normals at flat faces too.
Also fixed a normal refresh issue, and deduplicated CDDM/mesh normal
calculation code.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_editVert.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_editVert.h b/source/blender/blenlib/BLI_editVert.h index b422b79b165..ba745af5a0b 100644 --- a/source/blender/blenlib/BLI_editVert.h +++ b/source/blender/blenlib/BLI_editVert.h @@ -60,6 +60,7 @@ typedef struct EditVert void *p; intptr_t l; float fp; + int t; } tmp; float no[3]; /*vertex normal */ float co[3]; /*vertex location */ |