diff options
author | Jacques Lucke <jacques@blender.org> | 2021-09-11 13:41:46 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-09-11 13:41:46 +0300 |
commit | 166c8be7ac018c461514453b9947a23b7ac2ef26 (patch) | |
tree | 78325cc656682d416add415a9a336df62d19b29c /source/blender/io/alembic | |
parent | aeeffb935e9406fa2cdcb84828aa0e498b2df664 (diff) |
Cleanup: use nullptr
Diffstat (limited to 'source/blender/io/alembic')
-rw-r--r-- | source/blender/io/alembic/intern/abc_reader_mesh.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<int>(velocities->size()); |