diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 524fb60..2f00515 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -343,7 +343,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
343 | } | 343 | } |
344 | // } | 344 | // } |
345 | } | 345 | } |
346 | 346 | public uint GenerateClientFlags(LLUUID ObjectID) | |
347 | { | ||
348 | return m_scene.PermissionsMngr.GenerateClientFlags(this.m_uuid, ObjectID); | ||
349 | } | ||
347 | public void SendPrimUpdates() | 350 | public void SendPrimUpdates() |
348 | { | 351 | { |
349 | // if (m_scene.QuadTree.GetNodeID(this.AbsolutePosition.X, this.AbsolutePosition.Y) != m_currentQuadNode) | 352 | // if (m_scene.QuadTree.GetNodeID(this.AbsolutePosition.X, this.AbsolutePosition.Y) != m_currentQuadNode) |
@@ -380,7 +383,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
380 | if (update.LastFullUpdateTime < part.TimeStampFull) | 383 | if (update.LastFullUpdateTime < part.TimeStampFull) |
381 | { | 384 | { |
382 | //need to do a full update | 385 | //need to do a full update |
383 | part.SendFullUpdate(ControllingClient); | 386 | part.SendFullUpdate(ControllingClient, GenerateClientFlags(part.UUID)); |
384 | 387 | ||
385 | // We'll update to the part's timestamp rather than the current to | 388 | // We'll update to the part's timestamp rather than the current to |
386 | // avoid the race condition whereby the next tick occurs while we are | 389 | // avoid the race condition whereby the next tick occurs while we are |
@@ -403,7 +406,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
403 | else | 406 | else |
404 | { | 407 | { |
405 | //never been sent to client before so do full update | 408 | //never been sent to client before so do full update |
406 | part.SendFullUpdate(ControllingClient); | 409 | part.SendFullUpdate(ControllingClient, GenerateClientFlags(part.UUID)); |
407 | ScenePartUpdate update = new ScenePartUpdate(); | 410 | ScenePartUpdate update = new ScenePartUpdate(); |
408 | update.FullID = part.UUID; | 411 | update.FullID = part.UUID; |
409 | update.LastFullUpdateTime = part.TimeStampFull; | 412 | update.LastFullUpdateTime = part.TimeStampFull; |