1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Disable bounding box shadows for advanced scene importer

This commit is contained in:
BlueCube3310
2023-09-23 15:18:57 +02:00
parent c12d63556b
commit 1121c7bbaf

View File

@@ -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();
}