Reset: wipe the Effect UniformCache
This commit is contained in:
parent
47d33b5de3
commit
72e1737aa6
1 changed files with 1 additions and 1 deletions
|
@ -1187,8 +1187,8 @@ void fgStartNewReset()
|
||||||
|
|
||||||
simgear::clearEffectCache();
|
simgear::clearEffectCache();
|
||||||
simgear::SGModelLib::resetPropertyRoot();
|
simgear::SGModelLib::resetPropertyRoot();
|
||||||
|
|
||||||
simgear::GlobalParticleCallback::setSwitch(NULL);
|
simgear::GlobalParticleCallback::setSwitch(NULL);
|
||||||
|
simgear::UniformFactory::instance()->reset();
|
||||||
|
|
||||||
globals->resetPropertyRoot();
|
globals->resetPropertyRoot();
|
||||||
// otherwise channels are duplicated
|
// otherwise channels are duplicated
|
||||||
|
|
Loading…
Reference in a new issue