Fix the fetching of module references in the viewer support modules.

Remove the detachment of attachments in camera-only, because it doesn't work for HG people, and it's too drastic of a move.
This commit is contained in:
Diva Canto
2014-11-11 20:42:13 -08:00
parent 89cb07eb49
commit 32293cfd6b
3 changed files with 15 additions and 9 deletions

View File

@@ -101,6 +101,7 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport
if (client != null)
{
ScenePresence sp = WaitGetScenePresence(agentID);
if (sp == null) // Client is connected but SP still doesn't exist: this may happen on login
{
m_log.DebugFormat("[XXX]: SP is null");
@@ -123,11 +124,13 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport
rsend.send = true;
else
m_log.DebugFormat("[XXX]: Child or in transit");
}
}
else
m_log.DebugFormat("[XXX]: client is null");
if (rsendlist == null)
{
rsendlist = new List<RegionSend>();