After another heroic and bloody battle, OpenSim Dino Expedition 1, killed off OsSetParcelMediaTime, which was only ever added for testing. And all the logic code of it has been commented out for a long time.

This commit is contained in:
MW
2009-03-02 11:03:11 +00:00
parent aae39f9e3e
commit 202f990d2a
4 changed files with 0 additions and 40 deletions

View File

@@ -3398,24 +3398,6 @@ namespace OpenSim.Region.Framework.Scenes
#endregion
public void ParcelMediaSetTime(float time)
{
//should be doing this by parcel, but as its only for testing
// The use of Thread.Sleep here causes the following compiler error under mono 1.2.4
// OpenSim/Region/Environment/Scenes/Scene.cs(3675,17): error CS0103: The name `Thread' does not exist
// in the context of `<>c__CompilerGenerated17'
// MW said it was okay to comment the body of this method out for now since the code is experimental
// and will be replaced anyway
// ForEachClient(delegate(IClientAPI client)
// {
// client.SendParcelMediaCommand((uint)(2), ParcelMediaCommandEnum.Pause, 0);
// Thread.Sleep(10);
// client.SendParcelMediaCommand((uint)(64), ParcelMediaCommandEnum.Time, time);
// Thread.Sleep(200);
// client.SendParcelMediaCommand((uint)(4), ParcelMediaCommandEnum.Play, 0);
// });
}
public void RegionHandleRequest(IClientAPI client, UUID regionID)
{
RegionInfo info;