diff options
author | Diva Canto | 2015-06-17 15:55:07 -0700 |
---|---|---|
committer | Diva Canto | 2015-06-17 15:55:07 -0700 |
commit | 017d2cf417821488812294d36e896f3886ea14a4 (patch) | |
tree | c0e19aa76947bb573dd3e25f8dc7afe248d5d725 /OpenSim/Region/ClientStack | |
parent | Removed the pgsql table for AgentPrefs, because it is not working. For now th... (diff) | |
download | opensim-SC-017d2cf417821488812294d36e896f3886ea14a4.zip opensim-SC-017d2cf417821488812294d36e896f3886ea14a4.tar.gz opensim-SC-017d2cf417821488812294d36e896f3886ea14a4.tar.bz2 opensim-SC-017d2cf417821488812294d36e896f3886ea14a4.tar.xz |
Bug fix in inventory fetching: sometimes the caps request comes before there is a scene presence, and that's ok.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs index 299b4f6..025ffea 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 | |||
267 | Request = (x, y) => | 267 | Request = (x, y) => |
268 | { | 268 | { |
269 | ScenePresence sp = m_module.Scene.GetScenePresence(Id); | 269 | ScenePresence sp = m_module.Scene.GetScenePresence(Id); |
270 | if (sp == null) | ||
271 | { | ||
272 | m_log.ErrorFormat("[INVENTORY]: Unable to find ScenePresence for {0}", Id); | ||
273 | return; | ||
274 | } | ||
275 | 270 | ||
276 | aPollRequest reqinfo = new aPollRequest(); | 271 | aPollRequest reqinfo = new aPollRequest(); |
277 | reqinfo.thepoll = this; | 272 | reqinfo.thepoll = this; |