diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-04 08:57:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-04 08:58:03 +0300 |
commit | 39b86a989da5053ae5d6628834e5b78a16e6dffa (patch) | |
tree | 6f6b2b45494c9215f062924d43de2fd8f554c74e /source/blender/editors/transform | |
parent | d10700a3ac4ae827a8f429df858fc45ff0e6295e (diff) |
Cleanup: use const arrays
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform_constraints.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c index 43cbcb0aba4..2037981e655 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -550,7 +550,7 @@ static void applyObjectConstraintSize(TransInfo *t, } static void constraints_rotation_impl(TransInfo *t, - float axismtx[3][3], + const float axismtx[3][3], float r_vec[3], float *r_angle) { @@ -621,7 +621,7 @@ static void applyObjectConstraintRot( { if (t->con.mode & CON_APPLY) { float tmp_axismtx[3][3]; - float(*axismtx)[3]; + const float(*axismtx)[3]; /* on setup call, use first object */ if (td == NULL) { |