diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-17 12:19:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-17 12:19:22 +0300 |
commit | f8ca1da138c93a578854fe7665f2bdcb665d161b (patch) | |
tree | 55607ae07fc0de7fb18069841d94162aaf0b791f /source | |
parent | 53ff71725aa6ee734626de61867a1f4879049e09 (diff) | |
parent | 1b7ceb0aff2751c14e5f0b58591413bb9cb6fcc3 (diff) |
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/object/object_transform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_transform.c b/source/blender/editors/object/object_transform.c index 6cc148535c3..1eede3e5197 100644 --- a/source/blender/editors/object/object_transform.c +++ b/source/blender/editors/object/object_transform.c @@ -1904,9 +1904,9 @@ static int object_transform_axis_target_modal(bContext *C, wmOperator *op, const normal_found = true; /* cheap attempt to smooth normals out a bit! */ - const uint ofs = 2; - for (uint x = -ofs; x <= ofs; x += ofs / 2) { - for (uint y = -ofs; y <= ofs; y += ofs / 2) { + const int ofs = 2; + for (int x = -ofs; x <= ofs; x += ofs / 2) { + for (int y = -ofs; y <= ofs; y += ofs / 2) { if (x != 0 && y != 0) { int mval_ofs[2] = {event->mval[0] + x, event->mval[1] + y}; float n[3]; |