From e91620a456e855b3e0b5d22cccead357ab156f46 Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Thu, 19 Jul 2012 21:36:06 +0100 Subject: [PATCH] Remove building density slider. Values > 1.0 have massive memory impacts and can result in FG paging to disk continually and hanging some systems, with no obvious cause or fix (particularly with auto-save). For the moment we simply remove the slider, allowing power users to modify the density in preferences.xml. Once the memory consumption of buildings has been addressed we should be able to put the slide back in. --- gui/dialogs/rendering.xml | 65 ++++++++++----------------------------- 1 file changed, 17 insertions(+), 48 deletions(-) diff --git a/gui/dialogs/rendering.xml b/gui/dialogs/rendering.xml index f6218e2b2..904d6d200 100644 --- a/gui/dialogs/rendering.xml +++ b/gui/dialogs/rendering.xml @@ -247,6 +247,19 @@ 2 0 left + + random-buildings + /sim/rendering/random-buildings + + dialog-apply + random-buildings + + + + + 3 + 0 + left random-objects /sim/rendering/random-objects @@ -257,7 +270,7 @@ - 3 + 4 0 left @@ -269,7 +282,7 @@ - 3 + 4 1 @@ -277,7 +290,7 @@ - 3 + 4 2 vegetation-density 0 @@ -290,7 +303,7 @@ - 3 + 4 3 %.1f @@ -301,50 +314,6 @@ - - 4 - 0 - left - - random-buildings - /sim/rendering/random-buildings - - dialog-apply - random-buildings - - - - 4 - 1 - - - /sim/rendering/random-buildings - - - - 4 - 2 - building-density - 0 - 5.0 - 0.1 - /sim/rendering/building-density - - dialog-apply - building-density - - - - 4 - 3 - - %.1f - true - /sim/rendering/building-density - - /sim/rendering/random-buildings - -