diff options
| author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2011-08-02 18:04:58 -0400 | 
|---|---|---|
| committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2011-08-02 18:04:58 -0400 | 
| commit | 5451af6cca43f296e1b5654ab3e611928929c1c9 (patch) | |
| tree | 005b934f87b6c5adc0a6f84ef6f12c67d606ce37 | |
| parent | c7b2a88875e21f7610dd3e7c5d3f528b28d5ab55 (diff) | |
SH-2202 FIX physics costs have increased
Changed the default to use low LOD for single hull generation, will fall back to medium or high if not present.
| -rwxr-xr-x | indra/newview/llmeshrepository.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index 7ddc0db20d..afed306a28 100755 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -1482,6 +1482,10 @@ void LLMeshUploadThread::generateHulls()  			{  				physics = data.mModel[LLModel::LOD_PHYSICS];  			} +			else if (data.mModel[LLModel::LOD_LOW].notNull()) +			{ +				physics = data.mModel[LLModel::LOD_LOW]; +			}  			else if (data.mModel[LLModel::LOD_MEDIUM].notNull())  			{  				physics = data.mModel[LLModel::LOD_MEDIUM]; | 
