diff options
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_add_gizmo.c | 2 | ||||
-rw-r--r-- | source/blender/editors/mesh/meshtools.c | 2 |
2 files changed, 2 insertions, 2 deletions
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]), diff --git a/source/blender/editors/mesh/meshtools.c b/source/blender/editors/mesh/meshtools.c index 8d9d0e40f44..c68f5963cbd 100644 --- a/source/blender/editors/mesh/meshtools.c +++ b/source/blender/editors/mesh/meshtools.c @@ -81,7 +81,7 @@ static void join_mesh_single(Depsgraph *depsgraph, Scene *scene, Object *ob_dst, Object *ob_src, - float imat[4][4], + const float imat[4][4], MVert **mvert_pp, MEdge **medge_pp, MLoop **mloop_pp, |