Skip to content

Commit

Permalink
Merge pull request #82190 from BlueCube3310/aabb-import-shadows-disable
Browse files Browse the repository at this point in the history
Disable bounding box shadows for advanced scene importer
  • Loading branch information
akien-mga committed Sep 24, 2023
2 parents 810021c + 1121c7b commit 9e011c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/import/scene_import_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 9e011c3

Please sign in to comment.