From 5451af6cca43f296e1b5654ab3e611928929c1c9 Mon Sep 17 00:00:00 2001
From: "Nyx (Neal Orman)" <nyx@lindenlab.com>
Date: Tue, 2 Aug 2011 18:04:58 -0400
Subject: [PATCH] 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.
---
 indra/newview/llmeshrepository.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp
index 7ddc0db20d3..afed306a28f 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];
-- 
GitLab