From 531f6c01eb8e137016e4e9a20438a107cd7b4f7f Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Sun, 17 Aug 2008 23:07:14 +0000 Subject: Update svn properties, minor formatting cleanup. --- .../Shared/Api/Implementation/LSL_Api.cs | 84 +++++++++++----------- 1 file changed, 42 insertions(+), 42 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index c8c1ac3..9604828 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -5536,48 +5536,48 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api SetFullBright(part, face , st); break; - case (int)ScriptBaseClass.PRIM_MATERIAL: - if (remain < 1) - return; - if (part != null) - { - /* Unhandled at this time - sends "Unhandled" message - will enable when available - byte material = (byte)Convert.ToByte( rules.Data[idx++]); - part.Material = material; - */ - return; - } - break; - case (int)ScriptBaseClass.PRIM_PHANTOM: - if (remain < 1) - return; - - string ph = rules.Data[idx++].ToString(); - bool phantom; - - if(ph.Equals("1")) - phantom = true; - else - phantom = false; - - part.ScriptSetPhantomStatus(phantom); - part.ScheduleFullUpdate(); - break; - case (int)ScriptBaseClass.PRIM_PHYSICS: - if (remain < 1) - return; - string phy = rules.Data[idx++].ToString(); - bool physics; - - if(phy.Equals("1")) - physics = true; - else - physics = false; - - m_host.ScriptSetPhysicsStatus(physics); - part.ScheduleFullUpdate(); - break; + case (int)ScriptBaseClass.PRIM_MATERIAL: + if (remain < 1) + return; + if (part != null) + { + /* Unhandled at this time - sends "Unhandled" message + will enable when available + byte material = (byte)Convert.ToByte( rules.Data[idx++]); + part.Material = material; + */ + return; + } + break; + case (int)ScriptBaseClass.PRIM_PHANTOM: + if (remain < 1) + return; + + string ph = rules.Data[idx++].ToString(); + bool phantom; + + if (ph.Equals("1")) + phantom = true; + else + phantom = false; + + part.ScriptSetPhantomStatus(phantom); + part.ScheduleFullUpdate(); + break; + case (int)ScriptBaseClass.PRIM_PHYSICS: + if (remain < 1) + return; + string phy = rules.Data[idx++].ToString(); + bool physics; + + if (phy.Equals("1")) + physics = true; + else + physics = false; + + m_host.ScriptSetPhysicsStatus(physics); + part.ScheduleFullUpdate(); + break; } } } -- cgit v1.1