Cleanup: use nullptr

This commit is contained in:
Jacques Lucke 2021-05-19 13:04:12 +02:00
parent c5a898bcac
commit afb66b3c3a
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ void read_generated_coordinates(const ICompoundProperty &prop,
cd_data = CustomData_get_layer(&config.mesh->vdata, CD_ORCO);
}
else {
cd_data = CustomData_add_layer(&config.mesh->vdata, CD_ORCO, CD_CALLOC, NULL, totvert);
cd_data = CustomData_add_layer(&config.mesh->vdata, CD_ORCO, CD_CALLOC, nullptr, totvert);
}
float(*orcodata)[3] = static_cast<float(*)[3]>(cd_data);