llRequestSimulatorData DATA_SIM_POS : Divide by RegionSize, don't multiply. This resolves mantis #215

avinationmerge
Tom 2010-08-05 08:41:08 -07:00
parent 85fd2def9c
commit 0eda6714f3
1 changed files with 2 additions and 2 deletions

View File

@ -8881,8 +8881,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return UUID.Zero.ToString();
}
reply = new LSL_Vector(
info.RegionLocX * Constants.RegionSize,
info.RegionLocY * Constants.RegionSize,
info.RegionLocX / Constants.RegionSize,
info.RegionLocY / Constants.RegionSize,
0).ToString();
break;
case 6: // DATA_SIM_STATUS