Always show PE value in build tools if mesh is enabled; Fixes PHOE-3552

Tue, 13 Dec 2011 14:09:25 +0100

author
Ansariel
date
Tue, 13 Dec 2011 14:09:25 +0100
changeset 1597
9926e81d4386
parent 1596
6ee44d9ef7fb
child 1598
492d841e99ff

Always show PE value in build tools if mesh is enabled; Fixes PHOE-3552

indra/newview/llfloatertools.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llfloatertools.cpp	Tue Dec 13 12:25:45 2011 +0100
     1.2 +++ b/indra/newview/llfloatertools.cpp	Tue Dec 13 14:09:25 2011 +0100
     1.3 @@ -547,10 +547,7 @@
     1.4  	if (gMeshRepo.meshRezEnabled())
     1.5  	{
     1.6  		S32 link_cost = (S32)LLSelectMgr::getInstance()->getSelection()->getSelectedLinksetCost();
     1.7 -		if (link_cost > prim_count)
     1.8 -		{
     1.9 -			prim_count_string += " (" + llformat("%d", link_cost) + ")";
    1.10 -		}
    1.11 +		prim_count_string += " (" + llformat("%d", link_cost) + ")";
    1.12  	}
    1.13  	childSetTextArg("prim_count", "[COUNT]", prim_count_string);
    1.14  

mercurial