Commits

VirLinden committed a22619b

SH-1796 FIX

  • Participants
  • Parent commits 6dc6289

Comments (0)

Files changed (2)

File indra/newview/app_settings/settings.xml

     <key>Value</key>
     <real>0</real>
   </map>
-  <key>MeshUseWholeModelUpload</key>
-  <map>
-    <key>Comment</key>
-    <string>Upload model in its entirety instead of mesh-by-mesh (new caps)</string>
+  <key>MeshUploadLogXML</key>
+  <map>
+    <key>Comment</key>
+    <string>Verbose XML logging on mesh upload</string>
     <key>Persist</key>
     <integer>1</integer>
     <key>Type</key>

File indra/newview/llmeshrepository.cpp

 
 void dumpLLSDToFile(const LLSD& content, std::string filename)
 {
-#if 1
-	std::ofstream of(filename.c_str());
-	LLSDSerialize::toPrettyXML(content,of);
-#endif
+	if (gSavedSettings.getBOOL("MeshUploadLogXML"))
+	{
+		std::ofstream of(filename.c_str());
+		LLSDSerialize::toPrettyXML(content,of);
+	}
 }
 
 void LLMeshUploadThread::wholeModelToLLSD(LLSD& dest, bool include_textures)