Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_array.c
| Context not available. | |||||
| CustomData_copy_data(&mesh->ldata, &result->ldata, 0, 0, chunk_nloops); | CustomData_copy_data(&mesh->ldata, &result->ldata, 0, 0, chunk_nloops); | ||||
| CustomData_copy_data(&mesh->pdata, &result->pdata, 0, 0, chunk_npolys); | CustomData_copy_data(&mesh->pdata, &result->pdata, 0, 0, chunk_npolys); | ||||
| /* Subsurf for eg wont have mesh data in the custom data arrays. | /* Subsurf for eg won't have mesh data in the custom data arrays. | ||||
| * now add mvert/medge/mpoly layers. */ | * now add mvert/medge/mpoly layers. */ | ||||
| if (!CustomData_has_layer(&mesh->vdata, CD_MVERT)) { | if (!CustomData_has_layer(&mesh->vdata, CD_MVERT)) { | ||||
| memcpy(result->mvert, mesh->mvert, sizeof(*result->mvert) * mesh->totvert); | memcpy(result->mvert, mesh->mvert, sizeof(*result->mvert) * mesh->totvert); | ||||
| Context not available. | |||||