Increase auto-resize timeout for Clara.io asset download from ATP

This commit is contained in:
David Rowe 2016-12-13 17:55:44 +13:00 committed by Seth Alves
parent 5b8a9c0bcd
commit a4ff4f61b9

View file

@ -5829,7 +5829,7 @@ void Application::addAssetToWorldCheckModelSize() {
// Increment count of checks done.
_addAssetToWorldResizeList[entityID]++;
const int CHECK_MODEL_SIZE_MAX_CHECKS = 10;
const int CHECK_MODEL_SIZE_MAX_CHECKS = 30;
if (_addAssetToWorldResizeList[entityID] > CHECK_MODEL_SIZE_MAX_CHECKS) {
// Have done enough checks; model was either the default size or something's gone wrong.