Blender Git Commit Log
Git Commits -> Revision cee484a
Revision cee484a by Bastien Montagne (master) July 30, 2019, 12:25 (GMT) |
Fix T67067: Wrong rotation input values when using shortcuts on keyboard like rx720. This allows to type in numinput 720 and indeed get a rotation of 720�, not 0�... This patch basically applies 'big rotations' in steps < 180�, such that compatible rotation works as expected. This implies resetting current rotation to initial one first, otherwise we'd end up applying much more turns than expected when that code is called more than once. It also makes things somewhat slower for big rotations (millions of degrees), Hence we clamp to 1000 turns max. And since that's a case that cannot happen with regular tool/widget-driven rotation, it's only enabled when numinput is used for now. Review task: https://developer.blender.org/D5289 |
Commit Details:
Full Hash: cee484a4c51a3d207e42b2d0486846da6db386cf
Parent Commit: b971829
Lines Changed: +54, -8
1 Modified Path:
/source/blender/editors/transform/transform.c (+54, -8) (Diff)