view3d

changeset 10:d0896caa3e5b

GenNormals -> GenSmoothNormals
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 04 Sep 2012 05:10:47 +0300
parents 5562a637e5aa
children 1a3799ff443a
files src/scene.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/src/scene.c	Mon Jan 23 08:51:59 2012 +0200
     1.2 +++ b/src/scene.c	Tue Sep 04 05:10:47 2012 +0300
     1.3 @@ -36,7 +36,7 @@
     1.4  	const struct aiScene *aiscn;
     1.5  	unsigned int proc_flags = aiProcess_JoinIdenticalVertices |
     1.6  		aiProcess_PreTransformVertices | aiProcess_Triangulate |
     1.7 -		aiProcess_GenNormals | aiProcess_SortByPType | aiProcess_FlipUVs;
     1.8 +		aiProcess_GenSmoothNormals | aiProcess_SortByPType | aiProcess_FlipUVs;
     1.9  
    1.10  	if(!(aiscn = aiImportFile(fname, proc_flags))) {
    1.11  		fprintf(stderr, "failed to load: %s\n", fname);