Fix for model metrics

meow-7.2.2
Brad Payne (Vir Linden) 2011-09-01 17:47:05 -04:00
parent da39e2c5e3
commit da7f2af75c
1 changed files with 2 additions and 2 deletions

View File

@ -1460,8 +1460,8 @@ void LLMeshUploadThread::wholeModelToLLSD(LLSD& dest, bool include_textures)
if (model_name.empty()) model_name = "mesh model";
result["name"] = model_name;
if (model_metric.empty()) model_metric = "MUT_Other";
result["metric"] = model_metric;
if (model_metric.empty()) model_metric = "MUT_Unspecified";
res["metric"] = model_metric;
result["asset_resources"] = res;
dump_llsd_to_file(result,make_dump_name("whole_model_",dump_num));