2ba13677ad3a4cf562af1335d8bdbdb6b59a4b34
This has already been tried to solve inf71d89bb04(but apparently still wrong). This PR will hopefully address part of the scaling issues (rotation needs another look, see below) wrt. to scaling, the is code in place to reorient the size matrix in `ElementResize` (for `Sculpt`, `Object`, `ObjectTexSpace` & `Pose`) that multiplies by `td->axismtx` and it can be assumed that this code expects `td->axismtx` to be normalized (otherwise the scaling adds up). And it looks like all code coming here actually does this (except sculpt code from `createTransSculpt`). So to resolve, normalize `td->axismtx` in `createTransSculpt`. NOTE: even after this PR, there can still be issues with scaling, namely with rotated objects and global orientation, or when the pivot is set to 3D cursor, those need another look. NOTE: for rotation, I need another look at git history, atm. it seems puzzling thatf71d89bb04e.g. uses `TransDataExtension::l_smtx` (this is only ever used for pose related rotation?!) part of #127398 Pull Request: https://projects.blender.org/blender/blender/pulls/127495
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
