You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Change non-existent World to World3D
This commit is contained in:
@@ -1746,7 +1746,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