From 1121c7bbaf81e4fbfe327bc1bc85f1c0fc607157 Mon Sep 17 00:00:00 2001 From: BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com> Date: Sat, 23 Sep 2023 15:18:57 +0200 Subject: [PATCH] Disable bounding box shadows for advanced scene importer --- editor/import/scene_import_settings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/import/scene_import_settings.cpp b/editor/import/scene_import_settings.cpp index 6b42417296b9..3882b8d2dbea 100644 --- a/editor/import/scene_import_settings.cpp +++ b/editor/import/scene_import_settings.cpp @@ -1581,6 +1581,7 @@ SceneImportSettings::SceneImportSettings() { node_selected = memnew(MeshInstance3D); node_selected->set_mesh(selection_mesh); + node_selected->set_cast_shadows_setting(GeometryInstance3D::SHADOW_CASTING_SETTING_OFF); base_viewport->add_child(node_selected); node_selected->hide(); }