fixed ground texture issues ( it seems )
parent
912bfba20c
commit
d0a22fb359
|
@ -148,6 +148,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
|
|
||||||
public void setEstateTerrainBaseTexture(IClientAPI remoteClient, int corner, UUID texture)
|
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)
|
if (texture == UUID.Zero)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -166,8 +167,11 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
m_scene.RegionInfo.RegionSettings.TerrainTexture4 = texture;
|
m_scene.RegionInfo.RegionSettings.TerrainTexture4 = texture;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
m_log.DebugFormat("[ESTATE]: sacha step 2 {0}",texture);
|
||||||
m_scene.RegionInfo.RegionSettings.Save();
|
m_scene.RegionInfo.RegionSettings.Save();
|
||||||
|
m_log.DebugFormat("[ESTATE]: sacha step 3 {0}",texture);
|
||||||
TriggerRegionInfoChange();
|
TriggerRegionInfoChange();
|
||||||
|
m_log.DebugFormat("[ESTATE]: sacha step 4 {0}",texture);
|
||||||
sendRegionInfoPacketToAll();
|
sendRegionInfoPacketToAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -199,6 +203,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
|
|
||||||
private void handleCommitEstateTerrainTextureRequest(IClientAPI remoteClient)
|
private void handleCommitEstateTerrainTextureRequest(IClientAPI remoteClient)
|
||||||
{
|
{
|
||||||
|
m_log.Debug("[ESTATE]: sacha Commit terrain texture change");
|
||||||
sendRegionHandshakeToAll();
|
sendRegionHandshakeToAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -949,7 +954,8 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
m_scene.RegionInfo.RegionSettings.Save();
|
m_scene.RegionInfo.RegionSettings.Save();
|
||||||
TriggerRegionInfoChange();
|
//TriggerRegionInfoChange();
|
||||||
|
TriggerEstateInfoChange();
|
||||||
sendRegionInfoPacketToAll();
|
sendRegionInfoPacketToAll();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -995,7 +1001,8 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
m_scene.RegionInfo.RegionSettings.Save();
|
m_scene.RegionInfo.RegionSettings.Save();
|
||||||
TriggerRegionInfoChange();
|
//TriggerRegionInfoChange();
|
||||||
|
TriggerEstateInfoChange();
|
||||||
sendRegionHandshakeToAll();
|
sendRegionHandshakeToAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue