SH-3172 WIP - useServerTextureBaking() func

meow-7.2.2
Brad Payne (Vir Linden) 2012-06-25 13:50:39 -04:00
parent cf60f6a191
commit c3488d1fc6
2 changed files with 9 additions and 2 deletions

View File

@ -2581,8 +2581,13 @@ void LLAppearanceMgr::updateClothingOrderingInfo(LLUUID cat_id, bool update_base
if (inventory_changed) gInventory.notifyObservers();
}
// Should be true iff both the appropriate debug setting is enabled
// and the corresponding cap has been found.
bool useServerTextureBaking()
{
// TODO: add cap check.
return gSavedSettings.getBOOL("UseServerTextureBaking");
}
class LLShowCreatedOutfit: public LLInventoryCallback
{

2
indra/newview/llappearancemgr.h Normal file → Executable file
View File

@ -182,6 +182,8 @@ public:
bool isInUpdateAppearanceFromCOF() { return mIsInUpdateAppearanceFromCOF; }
bool useServerTextureBaking();
protected:
LLAppearanceMgr();
~LLAppearanceMgr();