From 716d2bd2e4a2d556e98a1ac50262a01b5244d442 Mon Sep 17 00:00:00 2001 From: Paul ProductEngine Date: Wed, 24 Aug 2011 14:57:19 +0300 Subject: SH-2309 WIP Priority modifications to mesh uploader UI - Arranged all controls of the floater (according to the last version of the mockup) except for the tab container content. --- indra/newview/llfloatermodelpreview.cpp | 16 +- .../skins/default/xui/en/floater_model_preview.xml | 1315 ++++++++++---------- 2 files changed, 633 insertions(+), 698 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index b1b5e69968..acc8a9b213 100755 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -5570,10 +5570,10 @@ void LLFloaterModelPreview::toggleCalculateButton(bool visible) if (visible) { std::string tbd = getString("tbd"); - childSetTextArg("weights_right", "[EQ]", tbd); - childSetTextArg("weights_left", "[ST]", tbd); - childSetTextArg("weights_right", "[SIM]", tbd); - childSetTextArg("weights_left", "[PH]", tbd); + childSetTextArg("prim_weight", "[EQ]", tbd); + childSetTextArg("download_weight", "[ST]", tbd); + childSetTextArg("server_weight", "[SIM]", tbd); + childSetTextArg("physics_weight", "[PH]", tbd); childSetTextArg("upload_fee", "[FEE]", tbd); childSetTextArg("price_breakdown", "[STREAMING]", tbd); childSetTextArg("price_breakdown", "[PHYSICS]", tbd); @@ -5596,10 +5596,10 @@ void LLFloaterModelPreview::handleModelPhysicsFeeReceived() const LLSD& result = mModelPhysicsFee; mUploadModelUrl = result["url"].asString(); - childSetTextArg("weights_right", "[EQ]", llformat("%0.3f", result["resource_cost"].asReal())); - childSetTextArg("weights_left", "[ST]", llformat("%0.3f", result["model_streaming_cost"].asReal())); - childSetTextArg("weights_right", "[SIM]", llformat("%0.3f", result["simulation_cost"].asReal())); - childSetTextArg("weights_left", "[PH]", llformat("%0.3f", result["physics_cost"].asReal())); + childSetTextArg("prim_weight", "[EQ]", llformat("%0.3f", result["resource_cost"].asReal())); + childSetTextArg("download_weight", "[ST]", llformat("%0.3f", result["model_streaming_cost"].asReal())); + childSetTextArg("server_weight", "[SIM]", llformat("%0.3f", result["simulation_cost"].asReal())); + childSetTextArg("physics_weight", "[PH]", llformat("%0.3f", result["physics_cost"].asReal())); childSetTextArg("upload_fee", "[FEE]", llformat("%d", result["upload_price"].asInteger())); childSetTextArg("price_breakdown", "[STREAMING]", llformat("%d", result["upload_price_breakdown"]["mesh_streaming"].asInteger())); childSetTextArg("price_breakdown", "[PHYSICS]", llformat("%d", result["upload_price_breakdown"]["mesh_physics"].asInteger())); diff --git a/indra/newview/skins/default/xui/en/floater_model_preview.xml b/indra/newview/skins/default/xui/en/floater_model_preview.xml index 8f6058a824..963938e20a 100755 --- a/indra/newview/skins/default/xui/en/floater_model_preview.xml +++ b/indra/newview/skins/default/xui/en/floater_model_preview.xml @@ -1,7 +1,7 @@ Idle @@ -25,718 +25,653 @@ Analyzing... Simplifying... TBD - - - - - - + follows="all" + height="625" + layout="topleft" + left="3" + name="left_panel" + top_pad="10" + width="530"> + + + Name: + + + + What does this model represent? + + + + + + + + + + + + + + + - - - - - - Select Level of Detail: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Level of Detail: [DETAIL] - - - - - - - - - - - Mesh - - - - - - - - - -