Merge the 'debug chunks' and 'object paging debug batches' settings into a single one

pull/3119/head^2^2
Cédric Mocquillon 3 years ago
parent 4b7d0bba53
commit 080c909c28

@ -390,7 +390,7 @@ namespace MWRender
, mRefTrackerLocked(false)
{
mActiveGrid = Settings::Manager::getBool("object paging active grid", "Terrain");
mDebugBatches = Settings::Manager::getBool("object paging debug batches", "Terrain");
mDebugBatches = Settings::Manager::getBool("debug chunks", "Terrain");
mMergeFactor = Settings::Manager::getFloat("object paging merge factor", "Terrain");
mMinSize = Settings::Manager::getFloat("object paging min size", "Terrain");
mMinSizeMergeFactor = Settings::Manager::getFloat("object paging min size merge factor", "Terrain");

@ -107,7 +107,10 @@ debug chunks
:Range: True/False
:Default: False
This debug setting allows you to see the borders of each chunks of the world by drawing lines arround them (as with toggleborder).
This debug setting allows you to see the borders of each chunks of the world by drawing lines arround them (as with toggleborder).
If object paging is set to true then this debug setting will allows you to see what objects have been merged in the scene
by making them colored randomly.
object paging
-------------
@ -203,12 +206,3 @@ object paging min size cost multiplier
This setting adjusts the calculated cost of merging an object used in the mentioned functionality.
The larger this value is, the less expensive objects can be before they are discarded.
See the formula above to figure out the math.
object paging debug batches
---------------------------
:Type: boolean
:Range: True/False
:Default: False
This debug setting allows you to see what objects have been merged in the scene
by making them colored randomly.

Loading…
Cancel
Save