Cleanup: Remove reference to CD_NORMAL in poly custom data

Vertex and face normals are not stored in custom data anymore,
in both Mesh and DerivedMesh.
This commit is contained in:
Hans Goudey 2022-04-12 13:55:33 -05:00
parent 88ab34488b
commit b1d915d027
1 changed files with 0 additions and 2 deletions

View File

@ -1963,8 +1963,6 @@ static CCGDerivedMesh *getCCGDerivedMesh(CCGSubSurf *ss,
ccgSubSurf_getNumFinalFaces(ss) * 4,
ccgSubSurf_getNumFinalFaces(ss));
CustomData_free_layer_active(&ccgdm->dm.polyData, CD_NORMAL, ccgdm->dm.numPolyData);
ccgdm->reverseFaceMap = MEM_callocN(sizeof(int) * ccgSubSurf_getNumFinalFaces(ss),
"reverseFaceMap");