1
0
Fork 0

Reset: clear effects cache

This commit is contained in:
James Turner 2013-12-04 09:09:47 +00:00
parent 9c11dfd545
commit 8cd71ff1ef

View file

@ -64,6 +64,7 @@
#include <simgear/scene/model/modellib.hxx>
#include <simgear/scene/material/matlib.hxx>
#include <simgear/scene/material/Effect.hxx>
#include <simgear/scene/model/particles.hxx>
#include <simgear/scene/tsync/terrasync.hxx>
@ -984,6 +985,7 @@ void fgStartNewReset()
globals->set_matlib(NULL);
globals->set_chatter_queue(NULL);
simgear::clearEffectCache();
simgear::SGModelLib::resetPropertyRoot();
globals->resetPropertyRoot();