diff options
Diffstat (limited to 'source/blender/src/transform.c')
-rw-r--r-- | source/blender/src/transform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index b3814831ddf..e8512d08d04 100644 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -1972,6 +1972,9 @@ static void applyRotation(TransInfo *t, float angle, float axis[3]) if (t->around == V3D_LOCAL) { VECCOPY(center, t->center); } + else { + center[0] = center[1] = center[2] = 0.0f; + } VecRotToMat3(axis, angle, mat); |