From 017d2cf417821488812294d36e896f3886ea14a4 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Wed, 17 Jun 2015 15:55:07 -0700 Subject: [PATCH] Bug fix in inventory fetching: sometimes the caps request comes before there is a scene presence, and that's ok. --- .../Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs index 299b4f6aa8..025ffea446 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs @@ -267,11 +267,6 @@ namespace OpenSim.Region.ClientStack.Linden Request = (x, y) => { ScenePresence sp = m_module.Scene.GetScenePresence(Id); - if (sp == null) - { - m_log.ErrorFormat("[INVENTORY]: Unable to find ScenePresence for {0}", Id); - return; - } aPollRequest reqinfo = new aPollRequest(); reqinfo.thepoll = this;