diff options
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llmeshrepository.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index 752e4c8744..cfb0609111 100755 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -3475,10 +3475,10 @@ LLSD LLImportMaterial::asLLSD() void LLMeshRepository::buildPhysicsMesh(LLModel::Decomposition& decomp) { - decomp.mMesh.resize(decomp.mHull.size());
-
- for (U32 i = 0; i < decomp.mHull.size(); ++i)
- {
+ decomp.mMesh.resize(decomp.mHull.size()); + + for (U32 i = 0; i < decomp.mHull.size(); ++i) + { LLCDHull hull; hull.mNumVertices = decomp.mHull[i].size(); hull.mVertexBase = decomp.mHull[i][0].mV; @@ -3492,8 +3492,8 @@ void LLMeshRepository::buildPhysicsMesh(LLModel::Decomposition& decomp) } if (res == LLCD_OK) { - get_vertex_buffer_from_mesh(mesh, decomp.mMesh[i]);
- }
+ get_vertex_buffer_from_mesh(mesh, decomp.mMesh[i]); + } } if (!decomp.mBaseHull.empty() && decomp.mBaseHullMesh.empty()) |