* Made a change to the loading mechanism to fix it's operation.
parent
b4c315dcec
commit
e41b45d107
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue