mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 11:33:48 +00:00
The default configuration is for the asset database to automatically unload an asset when it's no longer referenced. This causes problems when we would delete objects and then go to make more instances that reference the same asset while the same mission is going.
So autounload is disabled to prevent excessive unloading of assets before the level is concluded.
This commit is contained in:
parent
3a73344abb
commit
0ec9438429
4 changed files with 8 additions and 5 deletions
|
|
@ -76,7 +76,7 @@ AssetManager::AssetManager() :
|
|||
mMaxLoadedPrivateAssetsCount( 0 ),
|
||||
mAcquiredReferenceCount( 0 ),
|
||||
mEchoInfo( false ),
|
||||
mIgnoreAutoUnload( false )
|
||||
mIgnoreAutoUnload( true )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue