aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs8
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs1
2 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 17fd862..010961e 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1499,7 +1499,13 @@ namespace OpenSim.Region.ScriptEngine.Common
1499 public void llSetBuoyancy(double buoyancy) 1499 public void llSetBuoyancy(double buoyancy)
1500 { 1500 {
1501 m_host.AddScriptLPS(1); 1501 m_host.AddScriptLPS(1);
1502 NotImplemented("llSetBuoyancy"); 1502 if (m_host.ParentGroup != null)
1503 {
1504 if (m_host.ParentGroup.RootPart != null)
1505 {
1506 m_host.ParentGroup.RootPart.SetBuoyancy((float)buoyancy);
1507 }
1508 }
1503 } 1509 }
1504 1510
1505 public void llSetHoverHeight(double height, int water, double tau) 1511 public void llSetHoverHeight(double height, int water, double tau)
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
index c6d683c..d60d70e 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
@@ -648,5 +648,6 @@ namespace OpenSim.Region.ScriptEngine.Common
648 void osRegionNotice(string msg); 648 void osRegionNotice(string msg);
649 bool osConsoleCommand(string Command); 649 bool osConsoleCommand(string Command);
650 void osSetParcelMediaURL(string url); 650 void osSetParcelMediaURL(string url);
651
651 } 652 }
652} 653}