mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Disable bounding box shadows for advanced scene importer
This commit is contained in:
parent
c12d63556b
commit
1121c7bbaf
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user