From 166c8be7ac018c461514453b9947a23b7ac2ef26 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Sat, 11 Sep 2021 12:41:46 +0200 Subject: Cleanup: use nullptr --- source/blender/io/alembic/intern/abc_reader_mesh.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/io/alembic/intern/abc_reader_mesh.cc') diff --git a/source/blender/io/alembic/intern/abc_reader_mesh.cc b/source/blender/io/alembic/intern/abc_reader_mesh.cc index dbccc8f2851..eab94139f55 100644 --- a/source/blender/io/alembic/intern/abc_reader_mesh.cc +++ b/source/blender/io/alembic/intern/abc_reader_mesh.cc @@ -457,7 +457,7 @@ static void read_velocity(const V3fArraySamplePtr &velocities, const float velocity_scale) { CustomDataLayer *velocity_layer = BKE_id_attribute_new( - &config.mesh->id, "velocity", CD_PROP_FLOAT3, ATTR_DOMAIN_POINT, NULL); + &config.mesh->id, "velocity", CD_PROP_FLOAT3, ATTR_DOMAIN_POINT, nullptr); float(*velocity)[3] = (float(*)[3])velocity_layer->data; const int num_velocity_vectors = static_cast(velocities->size()); -- cgit v1.2.3