diff options
author | Adam Frisby | 2009-02-22 12:45:23 +0000 |
---|---|---|
committer | Adam Frisby | 2009-02-22 12:45:23 +0000 |
commit | 648f55ed11eb11161a2c5939c0f4d6d7d61eaabd (patch) | |
tree | 546274ffc172440dea98aa78d60777f5965033c8 /OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |
parent | * Fixes an assumption whereby Scene assumes that each client is capable of pr... (diff) | |
download | opensim-SC-648f55ed11eb11161a2c5939c0f4d6d7d61eaabd.zip opensim-SC-648f55ed11eb11161a2c5939c0f4d6d7d61eaabd.tar.gz opensim-SC-648f55ed11eb11161a2c5939c0f4d6d7d61eaabd.tar.bz2 opensim-SC-648f55ed11eb11161a2c5939c0f4d6d7d61eaabd.tar.xz |
* MXP Clients are now treated as full root agents - including being given a default avatar.
* MXP Clients now are capable of displaying primitives and objects within the Scene.
Diffstat (limited to 'OpenSim/Client/MXP/ClientStack/MXPClientView.cs')
-rw-r--r-- | OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index ccf3a1b..27bf078 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |||
@@ -365,7 +365,7 @@ namespace OpenSim.Client.MXP.ClientStack | |||
365 | 365 | ||
366 | public void Start() | 366 | public void Start() |
367 | { | 367 | { |
368 | // We dont do this | 368 | Scene.AddNewClient(this); |
369 | } | 369 | } |
370 | 370 | ||
371 | public void Stop() | 371 | public void Stop() |
@@ -403,6 +403,18 @@ namespace OpenSim.Client.MXP.ClientStack | |||
403 | 403 | ||
404 | public void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args) | 404 | public void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args) |
405 | { | 405 | { |
406 | m_log.Info("[MXP] Completing Handshake to Region"); | ||
407 | |||
408 | if (OnRegionHandShakeReply != null) | ||
409 | { | ||
410 | OnRegionHandShakeReply(this); | ||
411 | } | ||
412 | |||
413 | if (OnCompleteMovementToRegion != null) | ||
414 | { | ||
415 | OnCompleteMovementToRegion(); | ||
416 | } | ||
417 | |||
406 | // Need to translate to MXP somehow | 418 | // Need to translate to MXP somehow |
407 | } | 419 | } |
408 | 420 | ||
@@ -552,6 +564,8 @@ namespace OpenSim.Client.MXP.ClientStack | |||
552 | 564 | ||
553 | private void MXPSendPrimitive(uint localID, UUID ownerID, Vector3 acc, Vector3 rvel, PrimitiveBaseShape primShape, Vector3 pos, UUID objectID, Vector3 vel, Quaternion rotation) | 565 | private void MXPSendPrimitive(uint localID, UUID ownerID, Vector3 acc, Vector3 rvel, PrimitiveBaseShape primShape, Vector3 pos, UUID objectID, Vector3 vel, Quaternion rotation) |
554 | { | 566 | { |
567 | m_log.Info("[MXP] Transmitting Primitive"); | ||
568 | |||
555 | PerceptionEventMessage pe = new PerceptionEventMessage(); | 569 | PerceptionEventMessage pe = new PerceptionEventMessage(); |
556 | 570 | ||
557 | pe.ObjectFragment.ObjectIndex = localID; | 571 | pe.ObjectFragment.ObjectIndex = localID; |