diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-31 07:54:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-31 07:54:37 +0300 |
commit | 293f4d88dac4919371e3e9c375f7c4cde803b078 (patch) | |
tree | f8e0d485aafe4f49c71f757617d05de892fa612c /source/blender/editors/transform/transform_conversions.c | |
parent | 9407456e3f6991f5d703bd6b4e25b18b048d95a9 (diff) |
Cleanup: style, unused variable
Diffstat (limited to 'source/blender/editors/transform/transform_conversions.c')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index a5154fd1e8a..d3661cf60e1 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -3349,7 +3349,7 @@ void flushTransUVs(TransInfo *t) td->loc2d[0] *= size[0]; td->loc2d[1] *= size[1]; - switch(sima->pixel_snap_mode) { + switch (sima->pixel_snap_mode) { case SI_PIXEL_SNAP_CENTER: td->loc2d[0] = roundf(td->loc2d[0] - 0.5f) + 0.5f; td->loc2d[1] = roundf(td->loc2d[1] - 0.5f) + 0.5f; |