From 9f1158ba6ac5f36db5a4d374f22276294930dfd7 Mon Sep 17 00:00:00 2001
From: MW
Date: Tue, 12 Jun 2007 14:46:29 +0000
Subject: Some Work on the Primitive class
---
OpenSim/OpenSim.Region/World/World.PacketHandlers.cs | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
(limited to 'OpenSim/OpenSim.Region/World/World.PacketHandlers.cs')
diff --git a/OpenSim/OpenSim.Region/World/World.PacketHandlers.cs b/OpenSim/OpenSim.Region/World/World.PacketHandlers.cs
index f266d2a..85ca247 100644
--- a/OpenSim/OpenSim.Region/World/World.PacketHandlers.cs
+++ b/OpenSim/OpenSim.Region/World/World.PacketHandlers.cs
@@ -210,7 +210,14 @@ namespace OpenSim.Region
///
public void UpdatePrimPosition(uint localID, LLVector3 pos, IClientAPI remoteClient)
{
-
+ foreach (Entity ent in Entities.Values)
+ {
+ if (ent.localid == localID)
+ {
+ ((OpenSim.Region.Primitive)ent).UpdatePosition(pos);
+ break;
+ }
+ }
}
///
--
cgit v1.1