Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-19 10:12:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-19 10:12:25 +0400
commit162c3314170167f097e9befb028e71c4fde463fc (patch)
tree4bb3d02ce0c8aeb67069894f4d301c19a7754a36 /source/blender/editors/transform
parent905186856426dce4a61673870a8dd9f7597c09bd (diff)
style cleanup
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform.c4
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);
}