fixed ground texture issues ( it seems )

avinationmerge
sacha 2010-08-10 19:35:17 +00:00
parent 912bfba20c
commit d0a22fb359
1 changed files with 9 additions and 2 deletions

View File

@ -148,6 +148,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
public void setEstateTerrainBaseTexture(IClientAPI remoteClient, int corner, UUID texture)
{
m_log.DebugFormat("[ESTATE]: sacha setting terrain texture change {0}, corner {1}",texture,corner);
if (texture == UUID.Zero)
return;
@ -166,8 +167,11 @@ namespace OpenSim.Region.CoreModules.World.Estate
m_scene.RegionInfo.RegionSettings.TerrainTexture4 = texture;
break;
}
m_log.DebugFormat("[ESTATE]: sacha step 2 {0}",texture);
m_scene.RegionInfo.RegionSettings.Save();
m_log.DebugFormat("[ESTATE]: sacha step 3 {0}",texture);
TriggerRegionInfoChange();
m_log.DebugFormat("[ESTATE]: sacha step 4 {0}",texture);
sendRegionInfoPacketToAll();
}
@ -199,6 +203,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
private void handleCommitEstateTerrainTextureRequest(IClientAPI remoteClient)
{
m_log.Debug("[ESTATE]: sacha Commit terrain texture change");
sendRegionHandshakeToAll();
}
@ -949,7 +954,8 @@ namespace OpenSim.Region.CoreModules.World.Estate
break;
}
m_scene.RegionInfo.RegionSettings.Save();
TriggerRegionInfoChange();
//TriggerRegionInfoChange();
TriggerEstateInfoChange();
sendRegionInfoPacketToAll();
}
@ -995,7 +1001,8 @@ namespace OpenSim.Region.CoreModules.World.Estate
break;
}
m_scene.RegionInfo.RegionSettings.Save();
TriggerRegionInfoChange();
//TriggerRegionInfoChange();
TriggerEstateInfoChange();
sendRegionHandshakeToAll();
}
}