mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Made a change to the loading mechanism to fix it's operation.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user