summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-05-23 18:08:21 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-05-23 18:08:21 -0400
commit3f182d220046d4a2ffb81743252124cbb8bb9a70 (patch)
treea48adfe17d0626351081201d142ac5ce40fd90f2
parent00a94aa0ad3f1f27e86b7e78a5270a94d7c9b3f7 (diff)
SH-1492 WIP
-rw-r--r--indra/newview/llmeshrepository.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp
index 9e0b17280e..263d704231 100644
--- a/indra/newview/llmeshrepository.cpp
+++ b/indra/newview/llmeshrepository.cpp
@@ -1452,16 +1452,7 @@ void LLMeshUploadThread::wholeModelToLLSD(LLSD& dest, bool include_textures)
data.mModel[i] = instance.mLOD[i];
}
- LLVolumeParams volume_params;
- volume_params.setType( LL_PCODE_PROFILE_SQUARE, LL_PCODE_PATH_LINE );
- volume_params.setBeginAndEndS( 0.f, 1.f );
- volume_params.setBeginAndEndT( 0.f, 1.f );
- volume_params.setRatio ( 1, 1 );
- volume_params.setShear ( 0, 0 );
- volume_params.setSculptID(instance.mMeshID, LL_SCULPT_TYPE_MESH);
- mesh_entry["shape"] = volume_params.asLLSD();
mesh_entry["material"] = LL_MCODE_WOOD;
- mesh_entry["group-id"] = gAgent.getGroupID();
LLPermissions perm;
perm.setOwnerAndGroup(gAgent.getID(), gAgent.getID(), LLUUID::null, false);
perm.setCreator(gAgent.getID());