summaryrefslogtreecommitdiff
path: root/indra/newview/llsidepanelappearance.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-04-07 13:03:35 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-04-07 13:03:35 +0100
commitadce2ecdf8f3a0efcd4907699d286012124ac496 (patch)
treef36622a23028b73946bd3b70fd741b4f30464e33 /indra/newview/llsidepanelappearance.cpp
parent8da371b0f08f92fb1fef083f0bfb526f0698afd7 (diff)
parent7dd71a60c51ed81c1ddfa98d09a158488a85b753 (diff)
PE merge from pe-viewer-trunk
Diffstat (limited to 'indra/newview/llsidepanelappearance.cpp')
-rw-r--r--indra/newview/llsidepanelappearance.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp
index 511196809a..a084c93786 100644
--- a/indra/newview/llsidepanelappearance.cpp
+++ b/indra/newview/llsidepanelappearance.cpp
@@ -182,11 +182,9 @@ void LLSidepanelAppearance::onOpen(const LLSD& key)
mLookInfoType = key["type"].asString();
- if (mLookInfoType == "look")
+ if (mLookInfoType == "edit_outfit")
{
- LLInventoryCategory *pLook = gInventory.getCategory(key["id"].asUUID());
- if (pLook)
- mOutfitEdit->displayLookInfo(pLook);
+ mOutfitEdit->displayCurrentOutfit();
}
}