Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 16, 2010, 10:56:26 PM (14 years ago)
Author:
landauf
Message:

added new macro to ConfigValueIncludes.h, "SetConfigValueExternal" for values with user-defined name AND user-defined section

added new config value for models to enable/disable LOD (aimed towards people which experience crashes when using LOD)
moved config value for the LOD of ParticleInterface to the same section (GraphicsSettings) using the new macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/tools/ParticleInterface.cc

    r6417 r7166  
    9595    void ParticleInterface::setConfigValues()
    9696    {
    97         SetConfigValue(globalDetailLevel_, 2)
    98             .description("O: off, 1: low, 2: normal, 3: high").callback(this, &ParticleInterface::detailLevelChanged);
     97        SetConfigValueExternal(globalDetailLevel_, "GraphicsSettings", "particlesDetailLevel", 2)
     98            .description("O: off, 1: low, 2: normal, 3: high")
     99            .callback(this, &ParticleInterface::detailLevelChanged);
    99100    }
    100101
Note: See TracChangeset for help on using the changeset viewer.