[Bf-blender-cvs] [6c855dae317] temp-vert-normals-cleanup: Cleanup: Clang tidy

Hans Goudey noreply at git.blender.org
Sun Nov 21 17:03:06 CET 2021


Commit: 6c855dae31756104380b5298da842c8cb3ad968e
Author: Hans Goudey
Date:   Sun Nov 21 10:56:13 2021 -0500
Branches: temp-vert-normals-cleanup
https://developer.blender.org/rB6c855dae31756104380b5298da842c8cb3ad968e

Cleanup: Clang tidy

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

M	source/blender/blenkernel/intern/mesh.cc

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

diff --git a/source/blender/blenkernel/intern/mesh.cc b/source/blender/blenkernel/intern/mesh.cc
index 8f19180a6d4..e6d9c5a9509 100644
--- a/source/blender/blenkernel/intern/mesh.cc
+++ b/source/blender/blenkernel/intern/mesh.cc
@@ -1913,7 +1913,7 @@ void BKE_mesh_vert_coords_apply_with_mat4(Mesh *mesh,
 void BKE_mesh_calc_normals_split_ex(Mesh *mesh, MLoopNorSpaceArray *r_lnors_spacearr)
 {
   float(*r_loopnors)[3];
-  short(*clnors)[2] = NULL;
+  short(*clnors)[2] = nullptr;
 
   /* Note that we enforce computing clnors when the clnor space array is requested by caller here.
    * However, we obviously only use the auto-smooth angle threshold



More information about the Bf-blender-cvs mailing list