mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Thank you kindly, Ldviopeng for:
Patch to implement the following LSL / OS functions llParcelPrimCount(60%) osSetParcelMediaURL
This commit is contained in:
@@ -2414,6 +2414,22 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
public void SetLandMediaURL(float x, float y, string url)
|
||||
{
|
||||
Land land = LandManager.getLandObject(x, y);
|
||||
|
||||
if (land == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
land.landData.mediaURL = url;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Script Engine
|
||||
|
||||
Reference in New Issue
Block a user