[Bf-blender-cvs] [afb66b3c3a8] master: Cleanup: use nullptr

Jacques Lucke noreply at git.blender.org
Wed May 19 13:05:12 CEST 2021


Commit: afb66b3c3a8330e6747da293d948844ed2f2dcbc
Author: Jacques Lucke
Date:   Wed May 19 13:04:12 2021 +0200
Branches: master
https://developer.blender.org/rBafb66b3c3a8330e6747da293d948844ed2f2dcbc

Cleanup: use nullptr

===================================================================

M	source/blender/io/alembic/intern/abc_customdata.cc

===================================================================

diff --git a/source/blender/io/alembic/intern/abc_customdata.cc b/source/blender/io/alembic/intern/abc_customdata.cc
index b7a43c339ff..ccf353595c9 100644
--- a/source/blender/io/alembic/intern/abc_customdata.cc
+++ b/source/blender/io/alembic/intern/abc_customdata.cc
@@ -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);



More information about the Bf-blender-cvs mailing list