Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_unwrap_ops.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_unwrap_ops.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
index 2d8f40ea5af..1db038bef94 100644
--- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c
+++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
@@ -1258,7 +1258,7 @@ static void uv_map_rotation_matrix_ex(float result[4][4],
float upangledeg,
float sideangledeg,
float radius,
- float offset[4])
+ const float offset[4])
{
float rotup[4][4], rotside[4][4], viewmatrix[4][4], rotobj[4][4];
float sideangle = 0.0f, upangle = 0.0f;
@@ -2035,9 +2035,9 @@ void UV_OT_reset(wmOperatorType *ot)
/****************** Sphere Project operator ***************/
static void uv_sphere_project(float target[2],
- float source[3],
- float center[3],
- float rotmat[4][4])
+ const float source[3],
+ const float center[3],
+ const float rotmat[4][4])
{
float pv[3];
@@ -2162,9 +2162,9 @@ void UV_OT_sphere_project(wmOperatorType *ot)
/***************** Cylinder Project operator **************/
static void uv_cylinder_project(float target[2],
- float source[3],
- float center[3],
- float rotmat[4][4])
+ const float source[3],
+ const float center[3],
+ const float rotmat[4][4])
{
float pv[3];