Cleanup: use nullptr
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user