diff options
-rw-r--r-- | source/blender/editors/transform/transform.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index ae00f012846..e5b4a6c7bae 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -6444,15 +6444,11 @@ int VertSlide(TransInfo *t, const int UNUSED(mval[2])) str_p += BLI_snprintf(str_p, sizeof(str) - (str_p - str), "Alt or (C)lamp: %s", is_clamp ? "ON" : "OFF"); /* done with header string */ - if (is_constrained) { - CLAMP(final, 0.0f, 1.0f); - } - - t->values[0] = final; /*do stuff here*/ - if (t->customData) + if (t->customData) { doVertSlide(t, final); + } else { strcpy(str, "Invalid Vert Selection"); t->state = TRANS_CANCEL; |