small improvement to the jvm and test script

This commit is contained in:
MW
2007-04-11 12:49:00 +00:00
parent a98eb51c55
commit 2f3b6c4b10
3 changed files with 39 additions and 2 deletions

View File

@@ -92,6 +92,7 @@ namespace OpenSim.world
{
LLVector3 pos = entity.Pos;
pos.X = x;
pos.Y = y;
Primitive prim = entity as Primitive;
// Of course, we really should have asked the physEngine if this is possible, and if not, returned false.
prim.UpdatePosition(pos);