llCloud is obsolete, remove rest on old viewer V! cloud support

This commit is contained in:
UbitUmarov
2024-04-20 18:00:22 +01:00
parent f447a58ac9
commit 50212c240c
3 changed files with 1 additions and 47 deletions

View File

@@ -1454,15 +1454,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_Float llCloud(LSL_Vector offset)
{
ICloudModule module = World.RequestModuleInterface<ICloudModule>();
if (module is not null)
{
Vector3 pos = m_host.GetWorldPosition();
int x = (int)(pos.X + offset.x);
int y = (int)(pos.Y + offset.y);
return module.CloudCover(x, y, 0);
}
return 0;
}