Blender Git Loki

Git Commits -> Revision 3d01f13

Revision 3d01f13 by Campbell Barton (master)
January 24, 2012, 19:37 (GMT)
fix for 3 issues when applying a deform modifier in editmode.
- drawing face normals was broken (using wrong index).
- drawing flat faces in solid mode would display ugly tesselation normals (as if the model was made of triangles).
- drawing smooth faces in solid mode would show vertex normals based on tesselation (heavily slant in 1 direction).

now the normals are calculated and stored per polygon (will save some memory too for non tri meshes).

Commit Details:

Full Hash: 3d01f13c43a38811e000de9e5bf6d6b4319b7859
SVN Revision: 43674
Parent Commit: e6e88ff
Lines Changed: +112, -35

5 Modified Paths:

/source/blender/blenkernel/intern/editderivedmesh.c (+33, -26) (Diff)
/source/blender/bmesh/bmesh.h (+1, -0) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_polygon.c (+73, -7) (Diff)
/source/blender/bmesh/intern/bmesh_private.h (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021