diff options
author | JoJoX <jonas.lhoste@gmail.com> | 2023-01-28 12:31:20 +0100 |
---|---|---|
committer | JoJoX <jonas.lhoste@gmail.com> | 2023-01-28 12:32:03 +0100 |
commit | ecba2e2d4ef5535dac0fb58e4f5638d52b9782e3 (patch) | |
tree | 96411fcc74b9704ada390b6bc58af77f7ef0be9a /editor/import/scene_import_settings.cpp | |
parent | 2afa175195d0fc885badb60441bef1b31e5e6d05 (diff) |
Apply root scale to shape on import
Diffstat (limited to 'editor/import/scene_import_settings.cpp')
-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 044f7475c2..8d26feebf4 100644 --- a/editor/import/scene_import_settings.cpp +++ b/editor/import/scene_import_settings.cpp @@ -441,7 +441,7 @@ void SceneImportSettings::_update_view_gizmos() { // This collider_view doesn't have a mesh so we need to generate a new one. // Generate the mesh collider. - Vector<Ref<Shape3D>> shapes = ResourceImporterScene::get_collision_shapes(mesh_node->get_mesh(), e.value.settings); + Vector<Ref<Shape3D>> shapes = ResourceImporterScene::get_collision_shapes(mesh_node->get_mesh(), e.value.settings, 1.0); const Transform3D transform = ResourceImporterScene::get_collision_shapes_transform(e.value.settings); Ref<ArrayMesh> collider_view_mesh; |