Several fixes related to PBR and Environment
This commit is contained in:
parent
0a6faeb4f5
commit
5567e898d1
21 changed files with 132 additions and 97 deletions
|
|
@ -1380,7 +1380,7 @@ void EditorNode::_property_editor_back() {
|
|||
|
||||
void EditorNode::_save_default_environment() {
|
||||
|
||||
Ref<Environment> fallback = get_scene_root()->get_world()->get_fallback_environment();
|
||||
Ref<Environment> fallback = get_tree()->get_root()->get_world()->get_fallback_environment();
|
||||
|
||||
if (fallback.is_valid() && fallback->get_path().is_resource_file()) {
|
||||
Map<RES, bool> processed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue