Merging r58756 through r58777 from trunk into soc-2013-depsgraph_mt
[blender-staging.git] / source / blender / render / intern / source / convertblender.c
index a15f8607fee01a41efb1f5b9fdae27b70facb464..a5b3572aa5b36fb58e5035409be20a714fd72fa6 100644 (file)
@@ -803,7 +803,7 @@ static void autosmooth(Render *UNUSED(re), ObjectRen *obr, float mat[4][4], int
        totvert= obr->totvert;
        /* we now test all vertices, when faces have a normal too much different: they get a new vertex */
        for (a=0, asv=asverts; a<totvert; a++, asv++) {
-               if (asv && asv->totface>1) {
+               if (asv->totface > 1) {
                        ver= RE_findOrAddVert(obr, a);
 
                        asf= asv->faces.first;