mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 15:14:19 +02:00
Increase resize timeout to 5 mins to improve the odds of model rezzing
Model needs to rez in order for its initial dimensions to be obtained from FBX.
This commit is contained in:
parent
c82cceccac
commit
eb293fb579
1 changed files with 1 additions and 1 deletions
|
@ -5804,7 +5804,7 @@ void Application::addAssetToWorldCheckModelSize() {
|
|||
// Increment count of checks done.
|
||||
_addAssetToWorldResizeList[entityID]++;
|
||||
|
||||
const int CHECK_MODEL_SIZE_MAX_CHECKS = 30;
|
||||
const int CHECK_MODEL_SIZE_MAX_CHECKS = 300;
|
||||
if (_addAssetToWorldResizeList[entityID] > CHECK_MODEL_SIZE_MAX_CHECKS) {
|
||||
// Have done enough checks; model was either the default size or something's gone wrong.
|
||||
|
||||
|
|
Loading…
Reference in a new issue