diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-14 01:51:20 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-14 01:51:20 +0300 |
commit | ad3378215c0465898fde26270985ab2487d9b3ca (patch) | |
tree | 99b73c608acb50e692a29638e56a2bd57ceab1e5 /source/blender/editors | |
parent | abd02da4bd5ca5fac4aca2bc1868da0827aa74c2 (diff) |
Cleanup: Clang tidy
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/curves/intern/curves_ops.cc | 2 | ||||
-rw-r--r-- | source/blender/editors/render/render_shading.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/curves/intern/curves_ops.cc b/source/blender/editors/curves/intern/curves_ops.cc index 3a4dcd4f5f6..9823a1f18ce 100644 --- a/source/blender/editors/curves/intern/curves_ops.cc +++ b/source/blender/editors/curves/intern/curves_ops.cc @@ -473,7 +473,7 @@ static void CURVES_OT_snap_curves_to_surface(wmOperatorType *ot) "Deform", "Re-attach curves to a deformed surface using the existing attachment information. This " "only works when the topology of the surface mesh has not changed"}, - {0, NULL, 0, NULL, NULL}, + {0, nullptr, 0, nullptr, nullptr}, }; RNA_def_enum(ot->srna, diff --git a/source/blender/editors/render/render_shading.cc b/source/blender/editors/render/render_shading.cc index 46f62354fce..da2290f7372 100644 --- a/source/blender/editors/render/render_shading.cc +++ b/source/blender/editors/render/render_shading.cc @@ -1167,7 +1167,7 @@ void SCENE_OT_view_layer_add_lightgroup(wmOperatorType *ot) ot->prop = RNA_def_string(ot->srna, "name", nullptr, - sizeof(((ViewLayerLightgroup *)NULL)->name), + sizeof(((ViewLayerLightgroup *)nullptr)->name), "Name", "Name of newly created lightgroup"); } |