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:
authorGermano Cavalcante <germano.costa@ig.com.br>2021-02-27 23:10:18 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-02-27 23:22:47 +0300
commit92743cc895dd34bdaa165679bf9d06dfa3f8cb24 (patch)
tree1604e514b1976dba554503781cb6fc2387a5878f /source/blender/editors/transform/transform_mode.c
parentaad2f1510a80313a2272d131327442dc50152cbd (diff)
Fix T85886: Rotate Tool and Adjust Last Operation - angles inverted
The constraint was not set when redoing. This commit also removes `postInputRotation`. I really couldn't see a use for it.
Diffstat (limited to 'source/blender/editors/transform/transform_mode.c')
-rw-r--r--source/blender/editors/transform/transform_mode.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/editors/transform/transform_mode.c b/source/blender/editors/transform/transform_mode.c
index 9e6e4d8807e..d14f693da9c 100644
--- a/source/blender/editors/transform/transform_mode.c
+++ b/source/blender/editors/transform/transform_mode.c
@@ -554,15 +554,6 @@ void headerRotation(TransInfo *t, char str[UI_MAX_DRAW_STR], float final)
}
}
-void postInputRotation(TransInfo *t, float values[3])
-{
- float axis_final[3];
- copy_v3_v3(axis_final, t->spacemtx[t->orient_axis]);
- if ((t->con.mode & CON_APPLY) && t->con.applyRot) {
- t->con.applyRot(t, NULL, NULL, axis_final, values);
- }
-}
-
/**
* Applies values of rotation to `td->loc` and `td->ext->quat`
* based on a rotation matrix (mat) and a pivot (center).