diff --git a/editor/import/3d/scene_import_settings.cpp b/editor/import/3d/scene_import_settings.cpp index ed3eaa94c1b..e131794e84b 100644 --- a/editor/import/3d/scene_import_settings.cpp +++ b/editor/import/3d/scene_import_settings.cpp @@ -464,14 +464,8 @@ void SceneImportSettingsDialog::_fill_scene(Node *p_node, TreeItem *p_parent_ite mesh_node->add_child(collider_view, true); collider_view->set_owner(mesh_node); - Transform3D accum_xform; - Node3D *base = mesh_node; - while (base) { - accum_xform = base->get_transform() * accum_xform; - base = Object::cast_to(base->get_parent()); - } + AABB aabb = mesh_node->get_aabb(); - AABB aabb = accum_xform.xform(mesh_node->get_mesh()->get_aabb()); if (first_aabb) { contents_aabb = aabb; first_aabb = false;