summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshrepository.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-01-28 17:10:47 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-01-31 03:35:58 +0200
commit1a3b221ea4628f2161332c2b6d0163a49bb8ab20 (patch)
treebf5b821bc5a61810d5786df27d6dbd3c9fd5cd19 /indra/newview/llmeshrepository.h
parent142cf21cc111c7d75f4d75bab2b35364fbaf3624 (diff)
#1186 Speed up mesh header post processing
1. Don't do an extra skin request unless there is info about a skin 2. Proccess lods on the go if they were in initial packet
Diffstat (limited to 'indra/newview/llmeshrepository.h')
-rw-r--r--indra/newview/llmeshrepository.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llmeshrepository.h b/indra/newview/llmeshrepository.h
index 703f4cf9ce..e000d2aef9 100644
--- a/indra/newview/llmeshrepository.h
+++ b/indra/newview/llmeshrepository.h
@@ -318,8 +318,8 @@ public:
S32 mPhysicsMeshOffset = -1;
S32 mPhysicsMeshSize = -1;
- S32 mLodOffset[4] = { -1 };
- S32 mLodSize[4] = { -1 };
+ S32 mLodOffset[LLModel::NUM_LODS] = { -1 };
+ S32 mLodSize[LLModel::NUM_LODS] = { -1 };
bool m404 = false;
};