You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Fix 3D editor project settings update
This commit is contained in:
@@ -2666,10 +2666,6 @@ void Node3DEditorPlugin::edited_scene_changed() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Node3DEditorViewport::_project_settings_changed() {
|
void Node3DEditorViewport::_project_settings_changed() {
|
||||||
if (!EditorSettings::get_singleton()->check_changed_settings_in_group("rendering")) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update shadow atlas if changed.
|
// Update shadow atlas if changed.
|
||||||
int shadowmap_size = GLOBAL_GET("rendering/lights_and_shadows/positional_shadow/atlas_size");
|
int shadowmap_size = GLOBAL_GET("rendering/lights_and_shadows/positional_shadow/atlas_size");
|
||||||
bool shadowmap_16_bits = GLOBAL_GET("rendering/lights_and_shadows/positional_shadow/atlas_16_bits");
|
bool shadowmap_16_bits = GLOBAL_GET("rendering/lights_and_shadows/positional_shadow/atlas_16_bits");
|
||||||
|
|||||||
Reference in New Issue
Block a user