diff options
author | Fabian Keller <github.100.fkeller@spamgourmet.com> | 2022-07-16 11:47:54 +0200 |
---|---|---|
committer | Fabian Keller <github.100.fkeller@spamgourmet.com> | 2022-07-16 11:47:54 +0200 |
commit | 2bf9e6090c6d121bc1fddf4d82319a524ad0d963 (patch) | |
tree | 68a0f9628fd99e7b006b88471a5c4c00df3a5971 /editor/import | |
parent | ae5668f81e9ed7ae9e9a13b120d89de884b718be (diff) |
rename translate(d) to translate(d)_local in Transform 2D/3D
Diffstat (limited to 'editor/import')
-rw-r--r-- | editor/import/scene_import_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/scene_import_settings.cpp b/editor/import/scene_import_settings.cpp index 0e2967dc42..1c39c425b1 100644 --- a/editor/import/scene_import_settings.cpp +++ b/editor/import/scene_import_settings.cpp @@ -502,7 +502,7 @@ void SceneImportSettings::_update_camera() { Transform3D xf; xf.basis = Basis(Vector3(1, 0, 0), rot_x) * Basis(Vector3(0, 1, 0), rot_y); xf.origin = center; - xf.translate(0, 0, camera_size); + xf.translate_local(0, 0, camera_size); camera->set_transform(xf); } |