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:
David Rowe 2016-12-15 12:26:53 +13:00
parent c82cceccac
commit eb293fb579

View file

@ -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.