Fix #31250, #31248: wrong vertex normals after transform apply, collada import,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 2 May 2012 23:36:34 +0000 (23:36 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 2 May 2012 23:36:34 +0000 (23:36 +0000)
commit959a717d914c27d9b3f3030730bf4360ac3dcf1a
treeaed329a5db7b46c582c8c7b057b7148732043ff6
parent893cd1b4fd13b3324f383363bebd466ba04b376e
Fix #31250, #31248: wrong vertex normals after transform apply, collada import,
sculpt shape key switch. All cases that called this function needed parameter
only_face_normals set to false, so changed it now.

Also fixed wrong user count for imported mesh from collada and simplified
previous fix for tesselated faces to polygons conversion.
source/blender/blenkernel/intern/mesh.c
source/blender/collada/DocumentImporter.cpp
source/blender/collada/MeshImporter.cpp
source/blender/collada/MeshImporter.h