You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Rename Lod Threshold to Mesh Lod Threshold
This makes it more obvious that the setting only affects mesh LOD, not manual (H)LOD achieved using visibility ranges.
This commit is contained in:
@@ -2687,8 +2687,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