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:
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])
|
||||||
|
Loading…
Reference in New Issue
Block a user