summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/export/export_plugin.cpp
diff options
context:
space:
mode:
authorBirk Magnussen <6238428+BMagnu@users.noreply.github.com>2024-04-12 18:38:35 +0200
committerBirk Magnussen <6238428+BMagnu@users.noreply.github.com>2024-04-16 13:43:00 +0200
commitdd97ff44ab7213705a89d9489cb90bbf91eb18e6 (patch)
treec5bcba95264fc3134158c6139711b33e3d89a467 /platform/linuxbsd/export/export_plugin.cpp
parent4728ff30c0226b9918b29a6ba494dc61eae87639 (diff)
downloadredot-engine-dd97ff44ab7213705a89d9489cb90bbf91eb18e6.tar.gz
Fixes the issue where setting global rotation would reset scale.
This was caused because the basis for the target global transform was entirely recreated. This process did not account for the scale of the basis of the current global transform. This PR amends this by scaling the recreated basis for the global transform by the current global scale of the Node3D. Note that this scaling has to be done from the current global scale and not from the local scale of the Node3D, otherwise issues would arise if parents of this Node3D would be scaled.
Diffstat (limited to 'platform/linuxbsd/export/export_plugin.cpp')
0 files changed, 0 insertions, 0 deletions