From 63e40dbe0e4fcee2f96eb0f16bc511e019e0d509 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 26 Mar 2011 08:28:24 +0000 Subject: 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. --- source/blender/blenlib/BLI_editVert.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenlib/BLI_editVert.h') 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 */ -- cgit v1.2.3