diff options
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; |