From 1c0603bef2bac6e006df7566aa2a3f8c351a1b7f Mon Sep 17 00:00:00 2001 From: Rick Pasetto Date: Wed, 17 Feb 2010 14:00:16 -0800 Subject: Fix crash when turning on MediaPerformanceManagerDebug flag --- indra/newview/llpanelnearbymedia.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llpanelnearbymedia.cpp') diff --git a/indra/newview/llpanelnearbymedia.cpp b/indra/newview/llpanelnearbymedia.cpp index 6a88c916d7..d38dd0f870 100644 --- a/indra/newview/llpanelnearbymedia.cpp +++ b/indra/newview/llpanelnearbymedia.cpp @@ -614,6 +614,8 @@ void LLPanelNearByMedia::refreshList() // Clear all items so the list gets regenerated. mMediaList->deleteAllItems(); + mParcelAudioItem = NULL; + mParcelMediaItem = NULL; all_items_deleted = true; updateColumns(); -- cgit v1.2.3