Add PRIM_POS_LOCAL as an alias to PRIM_POSITION for setting the position.
For SL compatibility onlyavinationmerge
parent
eef6f92029
commit
04806e02ed
|
@ -7591,6 +7591,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
positionChanged = true;
|
positionChanged = true;
|
||||||
currentPosition = GetSetPosTarget(part, v, currentPosition);
|
currentPosition = GetSetPosTarget(part, v, currentPosition);
|
||||||
|
|
||||||
|
break;
|
||||||
|
case (int)ScriptBaseClass.PRIM_POS_LOCAL:
|
||||||
|
if (remain < 1)
|
||||||
|
return;
|
||||||
|
|
||||||
|
v=rules.GetVector3Item(idx++);
|
||||||
|
positionChanged = true;
|
||||||
|
currentPosition = GetSetPosTarget(part, v, currentPosition);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case (int)ScriptBaseClass.PRIM_SIZE:
|
case (int)ScriptBaseClass.PRIM_SIZE:
|
||||||
if (remain < 1)
|
if (remain < 1)
|
||||||
|
|
Loading…
Reference in New Issue