Cleanup: function style casts for C++, use nullptr

This commit is contained in:
2023-02-27 21:32:34 +11:00
parent 347cbbff2d
commit 9a1ab6bd14
6 changed files with 38 additions and 38 deletions

View File

@@ -778,7 +778,7 @@ static Mesh *arrayModifier_doArray(ArrayModifierData *amd,
Mesh *tmp = result;
result = geometry::mesh_merge_verts(
*tmp, MutableSpan<int>{full_doubles_map, result->totvert}, tot_doubles);
BKE_id_free(NULL, tmp);
BKE_id_free(nullptr, tmp);
}
MEM_freeN(full_doubles_map);
}