You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Merge pull request #56305 from Calinou/rename-lod-threshold
This commit is contained in:
@@ -2688,8 +2688,8 @@ void Node3DEditorViewport::_project_settings_changed() {
|
||||
const bool use_occlusion_culling = GLOBAL_GET("rendering/occlusion_culling/use_occlusion_culling");
|
||||
viewport->set_use_occlusion_culling(use_occlusion_culling);
|
||||
|
||||
const float lod_threshold = GLOBAL_GET("rendering/mesh_lod/lod_change/threshold_pixels");
|
||||
viewport->set_lod_threshold(lod_threshold);
|
||||
const float mesh_lod_threshold = GLOBAL_GET("rendering/mesh_lod/lod_change/threshold_pixels");
|
||||
viewport->set_mesh_lod_threshold(mesh_lod_threshold);
|
||||
}
|
||||
|
||||
void Node3DEditorViewport::_notification(int p_what) {
|
||||
|
||||
Reference in New Issue
Block a user