From 0547a7753643f45861306542857d97215ecb2c4f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 14 Sep 2019 08:10:50 +1000 Subject: Cleanup: use const args, variables --- source/blender/editors/mesh/editmesh_add_gizmo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/mesh/editmesh_add_gizmo.c') diff --git a/source/blender/editors/mesh/editmesh_add_gizmo.c b/source/blender/editors/mesh/editmesh_add_gizmo.c index f6729fb56e1..66832ceba7f 100644 --- a/source/blender/editors/mesh/editmesh_add_gizmo.c +++ b/source/blender/editors/mesh/editmesh_add_gizmo.c @@ -78,7 +78,7 @@ static void calc_initial_placement_point_from_view(bContext *C, float orient_matrix[3][3]; BKE_scene_cursor_to_mat4(&scene->cursor, cursor_matrix); - float dots[3] = { + const float dots[3] = { dot_v3v3(rv3d->viewinv[2], cursor_matrix[0]), dot_v3v3(rv3d->viewinv[2], cursor_matrix[1]), dot_v3v3(rv3d->viewinv[2], cursor_matrix[2]), -- cgit v1.2.3