no need to recalculate normals after setting smooth flags, for a short time the flag was used for vertex normals but not anymore.

This commit is contained in:
Campbell Barton 2012-01-05 15:45:57 +00:00
parent 7f555daa64
commit a46feb5b8f

@ -1248,8 +1248,6 @@ void mesh_set_smooth_flag(Object *meshOb, int enableSmooth)
mf->flag &= ~ME_SMOOTH; mf->flag &= ~ME_SMOOTH;
} }
} }
mesh_calc_normals(me->mvert, me->totvert, me->mface, me->totface, NULL);
} }
void mesh_calc_normals(MVert *mverts, int numVerts, MFace *mfaces, int numFaces, float (*faceNors_r)[3]) void mesh_calc_normals(MVert *mverts, int numVerts, MFace *mfaces, int numFaces, float (*faceNors_r)[3])