* Made a change to the loading mechanism to fix it's operation.

0.6.0-stable
Adam Frisby 2008-03-08 01:58:59 +00:00
parent b4c315dcec
commit e41b45d107
1 changed files with 6 additions and 1 deletions

View File

@ -224,7 +224,12 @@ namespace OpenSim.Region.Environment.Modules.Terrain
{
if (filename.EndsWith(loader.Key))
{
loader.Value.LoadFile(filename);
lock (m_scene)
{
ITerrainChannel channel = loader.Value.LoadFile(filename);
m_scene.Heightmap = channel;
m_channel = channel;
}
return;
}
}