summaryrefslogtreecommitdiff
path: root/indra/newview/llmorphview.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-05-24 12:55:22 -0400
committerLoren Shih <seraph@lindenlab.com>2010-05-24 12:55:22 -0400
commit583060bc631641d24b607289a77b458078b3e4a8 (patch)
treeafb816976227266bc404c780bcbc5a2c218085cb /indra/newview/llmorphview.cpp
parentb92c1b6d74818dacbaeaa2c7c3965dd431463b50 (diff)
parentbd53640901e93346fdc5d3dde534b6be294078a0 (diff)
automated merge
Diffstat (limited to 'indra/newview/llmorphview.cpp')
-rw-r--r--indra/newview/llmorphview.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/indra/newview/llmorphview.cpp b/indra/newview/llmorphview.cpp
index d670eb6ffd..27a27fb65a 100644
--- a/indra/newview/llmorphview.cpp
+++ b/indra/newview/llmorphview.cpp
@@ -131,14 +131,7 @@ void LLMorphView::setVisible(BOOL visible)
if (visible)
{
- llassert( !gFloaterCustomize );
- gFloaterCustomize = new LLFloaterCustomize();
- gFloaterCustomize->fetchInventory();
- gFloaterCustomize->openFloater();
-
- // Must do this _after_ gFloaterView is initialized.
- gFloaterCustomize->switchToDefaultSubpart();
-
+ // TODO: verify some user action has already opened outfit editor? - Nyx
initialize();
// First run dialog
@@ -146,13 +139,7 @@ void LLMorphView::setVisible(BOOL visible)
}
else
{
- if( gFloaterCustomize )
- {
- gFloaterView->removeChild( gFloaterCustomize );
- delete gFloaterCustomize;
- gFloaterCustomize = NULL;
- }
-
+ // TODO: verify some user action has already closed outfit editor ? - Nyx
shutdown();
}
}