From b742355130decb1b39d6f95871d4fb575cdd3d65 Mon Sep 17 00:00:00 2001 From: Austin Doupnik Date: Thu, 9 Jul 2009 22:35:39 +0000 Subject: DEV-35167 Reference counted selection objects were being kept around by floaters that were being constructed, but weren't visible. Reviewed by Richard. --- indra/newview/llfloateropenobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llfloateropenobject.cpp') diff --git a/indra/newview/llfloateropenobject.cpp b/indra/newview/llfloateropenobject.cpp index 09460e41ad..ba23a58b37 100644 --- a/indra/newview/llfloateropenobject.cpp +++ b/indra/newview/llfloateropenobject.cpp @@ -74,7 +74,6 @@ LLFloaterOpenObject::~LLFloaterOpenObject() // virtual BOOL LLFloaterOpenObject::postBuild() { - mObjectSelection = LLSelectMgr::getInstance()->getEditSelection(); childSetTextArg("object_name", "[DESC]", std::string("Object") ); // *Note: probably do not want to translate this mPanelInventory = getChild("object_contents"); return TRUE; @@ -94,6 +93,7 @@ void LLFloaterOpenObject::onOpen(const LLSD& key) closeFloater(); return; } + mObjectSelection = LLSelectMgr::getInstance()->getEditSelection(); } void LLFloaterOpenObject::refresh() { -- cgit v1.2.3