From 43ad3039f46a111fdca4338e92cd7667e08834ba Mon Sep 17 00:00:00 2001 From: Ansariel Date: Tue, 3 Dec 2013 20:17:14 +0100 Subject: [PATCH] Only update area search floater if it actually exists --- indra/newview/llviewermessage.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 223d647b03..d2f537b8dd 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -5735,14 +5735,14 @@ void process_object_properties(LLMessageSystem *msg, void**user_data) // Send the result to the corresponding requesters. LLSelectMgr::processObjectProperties(msg, user_data); - FSAreaSearch* area_search_floater = LLFloaterReg::getTypedInstance("area_search"); - if( area_search_floater ) + FSAreaSearch* area_search_floater = LLFloaterReg::findTypedInstance("area_search"); + if (area_search_floater) { area_search_floater->processObjectProperties(msg); } - AnimationExplorer* explorer=LLFloaterReg::findTypedInstance("animation_explorer"); - if(explorer) + AnimationExplorer* explorer = LLFloaterReg::findTypedInstance("animation_explorer"); + if (explorer) { explorer->requestNameCallback(msg); }