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:
Diffstat (limited to 'source/blender/src/transform_snap.c')
-rw-r--r--source/blender/src/transform_snap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/src/transform_snap.c b/source/blender/src/transform_snap.c
index 415787fb0f7..2a92629e4c9 100644
--- a/source/blender/src/transform_snap.c
+++ b/source/blender/src/transform_snap.c
@@ -425,10 +425,8 @@ float ResizeBetween(TransInfo *t, float p1[3], float p2[3])
VecSubf(d2, p2, center);
if (t->con.applyRot != NULL && (t->con.mode & CON_APPLY)) {
- float tmp[3];
-
- t->con.applyVec(t, NULL, d1, d1, tmp);
- t->con.applyVec(t, NULL, d2, d2, tmp);
+ Mat3MulVecfl(t->con.pmtx, d1);
+ Mat3MulVecfl(t->con.pmtx, d2);
}
return VecLength(d2) / VecLength(d1);