Cleanup: use nullptr
This commit is contained in:
parent
c5a898bcac
commit
afb66b3c3a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue