aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-04-09 20:53:29 +0100
committerUbitUmarov2012-04-09 20:53:29 +0100
commit87fdb2ed7e27e9c161a4d10d9c5b9859dcde5b2d (patch)
tree89567ff543e05d700cf1cb0bf10be250bd4a925b /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
parentsop.AddToPhysics(..) fixed and in use. For now it seems it needs to set sop.... (diff)
downloadopensim-SC-87fdb2ed7e27e9c161a4d10d9c5b9859dcde5b2d.zip
opensim-SC-87fdb2ed7e27e9c161a4d10d9c5b9859dcde5b2d.tar.gz
opensim-SC-87fdb2ed7e27e9c161a4d10d9c5b9859dcde5b2d.tar.bz2
opensim-SC-87fdb2ed7e27e9c161a4d10d9c5b9859dcde5b2d.tar.xz
llGetMass and llGetObjectMass (and push estimation) always use object mass as in current SL ( push is what makes sense or impulse will depend on what prim it is and not object). Added llGetMassMKS() that just returns 100 x llGetMass() as it seems to be in SL.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
index bf58d13..70c5fcd 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
@@ -581,6 +581,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
581 return m_LSL_Functions.llGetMass(); 581 return m_LSL_Functions.llGetMass();
582 } 582 }
583 583
584 public LSL_Float llGetMassMKS()
585 {
586 return m_LSL_Functions.llGetMassMKS();
587 }
588
584 public void llGetNextEmail(string address, string subject) 589 public void llGetNextEmail(string address, string subject)
585 { 590 {
586 m_LSL_Functions.llGetNextEmail(address, subject); 591 m_LSL_Functions.llGetNextEmail(address, subject);