diff options
-rw-r--r-- | source/blender/editors/transform/transform.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 0a85c523c93..bb1800a79cf 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -2516,6 +2516,8 @@ int Shear(TransInfo *t, const int UNUSED(mval[2])) sprintf(str, "Shear: %.3f %s", value, t->proptext); } + t->values[0] = value; + unit_m3(smat); // Custom data signals shear direction @@ -3616,6 +3618,7 @@ int ShrinkFatten(TransInfo *t, const int UNUSED(mval[2])) sprintf(str, "Shrink/Fatten: %.4f %s", distance, t->proptext); } + t->values[0] = distance; for (i = 0 ; i < t->total; i++, td++) { if (td->flag & TD_NOACTION) @@ -3821,6 +3824,8 @@ int PushPull(TransInfo *t, const int UNUSED(mval[2])) sprintf(str, "Push/Pull: %.4f%s %s", distance, t->con.text, t->proptext); } + t->values[0] = distance; + if (t->con.applyRot && t->con.mode & CON_APPLY) { t->con.applyRot(t, NULL, axis, NULL); } @@ -4923,6 +4928,8 @@ int EdgeSlide(TransInfo *t, const int UNUSED(mval[2])) CLAMP(final, -1.0f, 1.0f); + t->values[0] = final; + /*do stuff here*/ if (t->customData) doEdgeSlide(t, final); |