diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-05-23 13:46:55 -0400 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-05-23 13:46:55 -0400 | 
| commit | 19b93cb8c57ac043ff0c795e931f7863b0aa07a7 (patch) | |
| tree | ba6851b4ac4bb5b49253b4d321cc27ce508237d5 | |
| parent | d348b69d93945e2e0269208c4a229fbe52e9ccf4 (diff) | |
SH-1492 WIP
| -rwxr-xr-x | indra/newview/llmeshrepository.cpp | 8 | 
1 files changed, 2 insertions, 6 deletions
| diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index 085dc64473..f3b1aa9a1b 100755 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -1401,13 +1401,13 @@ void LLMeshUploadThread::run()  	}  } -#if 1  void dumpLLSDToFile(const LLSD& content, std::string filename)  { +#if 1  	std::ofstream of(filename.c_str());  	LLSDSerialize::toPrettyXML(content,of); -}  #endif +}  void LLMeshUploadThread::wholeModelToLLSD(LLSD& dest, bool include_textures)  { @@ -1452,7 +1452,6 @@ void LLMeshUploadThread::wholeModelToLLSD(LLSD& dest, bool include_textures)  			data.mModel[i] = instance.mLOD[i];  		} -#if 1  		LLVolumeParams  volume_params;  		volume_params.setType( LL_PCODE_PROFILE_SQUARE, LL_PCODE_PATH_LINE );  		volume_params.setBeginAndEndS( 0.f, 1.f ); @@ -1472,11 +1471,8 @@ void LLMeshUploadThread::wholeModelToLLSD(LLSD& dest, bool include_textures)  					   LLFloaterPerms::getEveryonePerms(),  					   LLFloaterPerms::getGroupPerms(),  					   LLFloaterPerms::getNextOwnerPerms()); -		  		mesh_entry["permissions"] = ll_create_sd_from_permissions(perm); -  		mesh_entry["physics_shape_type"] = (U8)(LLViewerObject::PHYSICS_SHAPE_CONVEX_HULL); -#endif  		std::stringstream ostr; | 
