diff options
author | Hans Goudey <h.goudey@me.com> | 2022-05-15 20:04:07 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-05-15 20:33:37 +0300 |
commit | 024f3ddf617f19b467b3948464fb2f9ba7e84951 (patch) | |
tree | f356f1c34e3ae4ba9ed927af0ed4d9e6d8002441 /source/blender/editors | |
parent | ee0c05e886d32f4bb9680cff41dc86eb2f464671 (diff) |
Cleanup: Clang tidy
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_node/node_select.cc | 2 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.cc | 2 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_project.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_node/node_select.cc b/source/blender/editors/space_node/node_select.cc index db523651534..c56f59259a2 100644 --- a/source/blender/editors/space_node/node_select.cc +++ b/source/blender/editors/space_node/node_select.cc @@ -709,7 +709,7 @@ void NODE_OT_select(wmOperatorType *ot) prop = RNA_def_int_vector(ot->srna, "location", 2, - NULL, + nullptr, INT_MIN, INT_MAX, "Location", diff --git a/source/blender/editors/space_outliner/outliner_draw.cc b/source/blender/editors/space_outliner/outliner_draw.cc index 57b0e2022ff..d165e98d7d4 100644 --- a/source/blender/editors/space_outliner/outliner_draw.cc +++ b/source/blender/editors/space_outliner/outliner_draw.cc @@ -1818,7 +1818,7 @@ static void outliner_draw_overrides_rna_buts(uiBlock *block, te->ys + pad_y, item_max_width, item_height, - NULL, + nullptr, 0.0f, 0.0f, 0.0f, diff --git a/source/blender/editors/space_view3d/view3d_project.c b/source/blender/editors/space_view3d/view3d_project.c index e23bb1f7a4f..1230515a180 100644 --- a/source/blender/editors/space_view3d/view3d_project.c +++ b/source/blender/editors/space_view3d/view3d_project.c @@ -312,7 +312,7 @@ float ED_view3d_calc_depth_for_comparison(const RegionView3D *rv3d, const float return -dot_v3v3(rv3d->viewinv[2], co); } -static void view3d_win_to_ray_segment(struct Depsgraph *depsgraph, +static void view3d_win_to_ray_segment(const struct Depsgraph *depsgraph, const ARegion *region, const View3D *v3d, const float mval[2], |