Merge commit '39d7945efc8daa6e5cd0f4728b499e7a624526cd' into bigmerge

Conflicts:
	OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs
This commit is contained in:
Melanie
2011-10-11 23:01:52 +01:00
6 changed files with 78 additions and 38 deletions

View File

@@ -112,10 +112,13 @@ namespace OpenSim.Region.CoreModules.Scripting.LoadImageURL
public void PostInitialise()
{
m_textureManager = m_scene.RequestModuleInterface<IDynamicTextureManager>();
if (m_textureManager != null)
if (m_scene != null)
{
m_textureManager.RegisterRender(GetContentType(), this);
m_textureManager = m_scene.RequestModuleInterface<IDynamicTextureManager>();
if (m_textureManager != null)
{
m_textureManager.RegisterRender(GetContentType(), this);
}
}
}