You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Merge pull request #37717 from qarmin/world_fix
Change non-existent World to World3D
This commit is contained in:
@@ -1747,7 +1747,7 @@ void EditorNode::push_item(Object *p_object, const String &p_property, bool p_in
|
||||
|
||||
void EditorNode::_save_default_environment() {
|
||||
|
||||
Ref<Environment> fallback = get_tree()->get_root()->get_world()->get_fallback_environment();
|
||||
Ref<Environment> fallback = get_tree()->get_root()->get_world_3d()->get_fallback_environment();
|
||||
|
||||
if (fallback.is_valid() && fallback->get_path().is_resource_file()) {
|
||||
Map<RES, bool> processed;
|
||||
|
||||
Reference in New Issue
Block a user