aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorMelanie2011-12-24 01:40:09 +0100
committerMelanie2011-12-24 01:40:09 +0100
commit04806e02edca0a0a44c2dd2adae0a1bcad57181e (patch)
tree6f3796d9aa2e708669331f840f6e4f22e0ea733b /OpenSim/Region/ScriptEngine
parentMerge branch 'master' into careminster (diff)
downloadopensim-SC_OLD-04806e02edca0a0a44c2dd2adae0a1bcad57181e.zip
opensim-SC_OLD-04806e02edca0a0a44c2dd2adae0a1bcad57181e.tar.gz
opensim-SC_OLD-04806e02edca0a0a44c2dd2adae0a1bcad57181e.tar.bz2
opensim-SC_OLD-04806e02edca0a0a44c2dd2adae0a1bcad57181e.tar.xz
Add PRIM_POS_LOCAL as an alias to PRIM_POSITION for setting the position.
For SL compatibility only
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 21c0a27..3bc8750 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7592,6 +7592,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7592 currentPosition = GetSetPosTarget(part, v, currentPosition); 7592 currentPosition = GetSetPosTarget(part, v, currentPosition);
7593 7593
7594 break; 7594 break;
7595 case (int)ScriptBaseClass.PRIM_POS_LOCAL:
7596 if (remain < 1)
7597 return;
7598
7599 v=rules.GetVector3Item(idx++);
7600 positionChanged = true;
7601 currentPosition = GetSetPosTarget(part, v, currentPosition);
7602
7603 break;
7595 case (int)ScriptBaseClass.PRIM_SIZE: 7604 case (int)ScriptBaseClass.PRIM_SIZE:
7596 if (remain < 1) 7605 if (remain < 1)
7597 return; 7606 return;