From 6760c8dcb4c4c80f448802ef26a03b85fbf941f5 Mon Sep 17 00:00:00 2001 From: AndreyL ProductEngine Date: Thu, 6 Oct 2016 19:01:32 +0300 Subject: MAINT-6785 Don't parse XML when creating dummy LLPanel --- indra/newview/lloutfitgallery.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp index aec6a79fa3..13eb148788 100644 --- a/indra/newview/lloutfitgallery.cpp +++ b/indra/newview/lloutfitgallery.cpp @@ -106,7 +106,8 @@ BOOL LLOutfitGallery::postBuild() { BOOL rv = LLOutfitListBase::postBuild(); mScrollPanel = getChild("gallery_scroll_panel"); - mGalleryPanel = getChild("gallery_panel"); + LLPanel::Params params = LLPanel::getDefaultParams(); // Don't parse XML when creating dummy LLPanel + mGalleryPanel = LLUICtrlFactory::create(params); mMessageTextBox = getChild("no_outfits_txt"); mOutfitGalleryMenu = new LLOutfitGalleryContextMenu(this); return rv; -- cgit v1.2.3