diff --git a/apps/launcher/advancedpage.cpp b/apps/launcher/advancedpage.cpp
index ed36634b62..9af1db504f 100644
--- a/apps/launcher/advancedpage.cpp
+++ b/apps/launcher/advancedpage.cpp
@@ -136,6 +136,7 @@ bool Launcher::AdvancedPage::loadSettings()
loadSettingBool(activeGridObjectPagingCheckBox, "object paging active grid", "Terrain");
viewingDistanceComboBox->setValue(convertToCells(Settings::Manager::getInt("viewing distance", "Camera")));
+ objectPagingMinSizeComboBox->setValue(Settings::Manager::getFloat("object paging min size", "Terrain"));
}
// Audio
@@ -287,6 +288,9 @@ void Launcher::AdvancedPage::saveSettings()
{
Settings::Manager::setInt("viewing distance", "Camera", convertToUnits(viewingDistance));
}
+ double objectPagingMinSize = objectPagingMinSizeComboBox->value();
+ if (objectPagingMinSize != Settings::Manager::getFloat("object paging min size", "Terrain"))
+ Settings::Manager::setFloat("object paging min size", "Terrain", objectPagingMinSize);
}
// Audio
diff --git a/files/ui/advancedpage.ui b/files/ui/advancedpage.ui
index 5859f1f382..4462ae356a 100644
--- a/files/ui/advancedpage.ui
+++ b/files/ui/advancedpage.ui
@@ -478,6 +478,36 @@
-
+
+
-
+
+
+ <html><head/><body><p>Controls how large an object must be to be visible in the scene. The object’s size is divided by its distance to the camera and the result of the division is compared with this value. The smaller this value is, the more objects you will see in the scene.</p></body></html>
+
+
+ Object paging min size
+
+
+
+ -
+
+
+ 3
+
+
+ 0.000000000000000
+
+
+ 0.250000000000000
+
+
+ 0.005000000000000
+
+
+
+
+
+ -
<html><head/><body><p>If true, use paging and LOD algorithms to display the entire terrain. If false, only display terrain of the loaded cells.</p></body></html>
@@ -487,7 +517,7 @@
- -
+
-
20