From 7db2e19500963620e59d0a319088d69faf297ac0 Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 9 Jul 2008 11:01:26 +0000 Subject: corrected the params types on IClientAPI.SendParcelMediaCommand. the command parameter should be set to the the ParcelMediaCommandEnum value. While flags seems to need to be set to (uint)(1<<[value of the command enum]) --- OpenSim/Framework/IClientAPI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 8c9aee7..b969a8d 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -642,7 +642,7 @@ namespace OpenSim.Framework #region Parcel Methods - void SendParcelMediaCommand(ParcelMediaCommandEnum flags, uint command, float time); + void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time); void SendParcelMediaUpdate(string mediaUrl, LLUUID mediaTextureID, byte autoScale, string mediaType, string mediaDesc, int mediaWidth, int mediaHeight, -- cgit v1.1