WS30: Fix crash on reset caused by VPBTechnique
This commit is contained in:
parent
a3b01a1c1e
commit
a8aa77b1b2
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,7 @@
|
|||
#include <simgear/scene/model/particles.hxx>
|
||||
#include <simgear/scene/tgdb/TreeBin.hxx>
|
||||
#include <simgear/scene/tgdb/userdata.hxx>
|
||||
#include <simgear/scene/tgdb/VPBTechnique.hxx>
|
||||
#include <simgear/scene/tsync/terrasync.hxx>
|
||||
|
||||
#include <simgear/package/Root.hxx>
|
||||
|
@ -1311,6 +1312,7 @@ void fgStartNewReset()
|
|||
|
||||
simgear::clearSharedTreeGeometry();
|
||||
simgear::clearEffectCache();
|
||||
simgear::VPBTechnique::clearElevationConstraints();
|
||||
simgear::SGModelLib::resetPropertyRoot();
|
||||
simgear::ParticlesGlobalManager::clear();
|
||||
simgear::UniformFactory::instance()->reset();
|
||||
|
|
Loading…
Reference in a new issue