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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-03-26 11:28:24 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-03-26 11:28:24 +0300
commit63e40dbe0e4fcee2f96eb0f16bc511e019e0d509 (patch)
tree24e49ca9db303b52fb9d8fd190b7a23f4f71239b /source/blender/blenlib/BLI_editVert.h
parent02a7063a0922c6c59a9f71ea2627e4f211a79899 (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/BLI_editVert.h')
-rw-r--r--source/blender/blenlib/BLI_editVert.h1
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 */