diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-19 10:12:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-19 10:12:25 +0400 |
commit | 162c3314170167f097e9befb028e71c4fde463fc (patch) | |
tree | 4bb3d02ce0c8aeb67069894f4d301c19a7754a36 /source/blender/editors/transform | |
parent | 905186856426dce4a61673870a8dd9f7597c09bd (diff) |
style cleanup
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index a18c5977b08..5672cfe96d6 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -6284,7 +6284,7 @@ int VertSlide(TransInfo *t, const int UNUSED(mval[2])) snapGrid(t, &final); /* only do this so out of range values are not displayed */ - if(is_constrained) { + if (is_constrained) { CLAMP(final, 0.0f, 1.0f); } @@ -6303,7 +6303,7 @@ int VertSlide(TransInfo *t, const int UNUSED(mval[2])) final, !is_proportional ? "ON" : "OFF", flipped ? "ON" : "OFF", (t->flag & T_ALT_TRANSFORM) ? "ON" : "OFF"); } - if(is_constrained) { + if (is_constrained) { CLAMP(final, 0.0f, 1.0f); } |