diff options
author | UbitUmarov | 2012-04-09 20:53:29 +0100 |
---|---|---|
committer | UbitUmarov | 2012-04-09 20:53:29 +0100 |
commit | 87fdb2ed7e27e9c161a4d10d9c5b9859dcde5b2d (patch) | |
tree | 89567ff543e05d700cf1cb0bf10be250bd4a925b /OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | |
parent | sop.AddToPhysics(..) fixed and in use. For now it seems it needs to set sop.... (diff) | |
download | opensim-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/Interface/ILSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index b976dc3..5c528977 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | |||
@@ -148,7 +148,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
148 | LSL_Vector llGetLocalPos(); | 148 | LSL_Vector llGetLocalPos(); |
149 | LSL_Rotation llGetLocalRot(); | 149 | LSL_Rotation llGetLocalRot(); |
150 | LSL_Float llGetMass(); | 150 | LSL_Float llGetMass(); |
151 | void llGetNextEmail(string address, string subject); | 151 | LSL_Float llGetMassMKS(); |
152 | void llGetNextEmail(string address, string subject); | ||
152 | LSL_String llGetNotecardLine(string name, int line); | 153 | LSL_String llGetNotecardLine(string name, int line); |
153 | LSL_Key llGetNumberOfNotecardLines(string name); | 154 | LSL_Key llGetNumberOfNotecardLines(string name); |
154 | LSL_Integer llGetNumberOfPrims(); | 155 | LSL_Integer llGetNumberOfPrims(); |