You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fully enable HDR2D when the setting is changed. This allows toggling HDR2D without restarting.
This commit is contained in:
@@ -467,6 +467,7 @@ void EditorNode::_update_from_settings() {
|
||||
|
||||
bool use_hdr_2d = GLOBAL_GET("rendering/viewport/hdr_2d");
|
||||
scene_root->set_use_hdr_2d(use_hdr_2d);
|
||||
get_viewport()->set_use_hdr_2d(use_hdr_2d);
|
||||
|
||||
float mesh_lod_threshold = GLOBAL_GET("rendering/mesh_lod/lod_change/threshold_pixels");
|
||||
scene_root->set_mesh_lod_threshold(mesh_lod_threshold);
|
||||
|
||||
Reference in New Issue
Block a user