Merge pull request #56305 from Calinou/rename-lod-threshold
This commit is contained in:
commit
851fb16350
34 changed files with 132 additions and 132 deletions
|
|
@ -522,8 +522,8 @@ void EditorNode::_update_from_settings() {
|
|||
Viewport::SDFScale sdf_scale = Viewport::SDFScale(int(GLOBAL_GET("rendering/2d/sdf/scale")));
|
||||
scene_root->set_sdf_scale(sdf_scale);
|
||||
|
||||
float lod_threshold = GLOBAL_GET("rendering/mesh_lod/lod_change/threshold_pixels");
|
||||
scene_root->set_lod_threshold(lod_threshold);
|
||||
float mesh_lod_threshold = GLOBAL_GET("rendering/mesh_lod/lod_change/threshold_pixels");
|
||||
scene_root->set_mesh_lod_threshold(mesh_lod_threshold);
|
||||
|
||||
RS::get_singleton()->decals_set_filter(RS::DecalFilter(int(GLOBAL_GET("rendering/textures/decals/filter"))));
|
||||
RS::get_singleton()->light_projectors_set_filter(RS::LightProjectorFilter(int(GLOBAL_GET("rendering/textures/light_projectors/filter"))));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue