diff options
| author | Paul ProductEngine <pguslisty@productengine.com> | 2011-08-24 14:57:19 +0300 | 
|---|---|---|
| committer | Paul ProductEngine <pguslisty@productengine.com> | 2011-08-24 14:57:19 +0300 | 
| commit | 716d2bd2e4a2d556e98a1ac50262a01b5244d442 (patch) | |
| tree | 129fc4ff01767622a22da317cc833702f26017e9 /indra/newview/llfloatermodelpreview.cpp | |
| parent | e58d50e509d060320174c80af647da6ff9a3839f (diff) | |
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.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
| -rwxr-xr-x | indra/newview/llfloatermodelpreview.cpp | 16 | 
1 files changed, 8 insertions, 8 deletions
| 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())); | 
