diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/ChildAgentDataUpdate.cs | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/OpenSim/Framework/ChildAgentDataUpdate.cs b/OpenSim/Framework/ChildAgentDataUpdate.cs index ee5007a..2d00296 100644 --- a/OpenSim/Framework/ChildAgentDataUpdate.cs +++ b/OpenSim/Framework/ChildAgentDataUpdate.cs | |||
@@ -398,7 +398,8 @@ namespace OpenSim.Framework | |||
398 | // Scripted | 398 | // Scripted |
399 | public ControllerData[] Controllers; | 399 | public ControllerData[] Controllers; |
400 | 400 | ||
401 | public string CallbackURI; | 401 | public string CallbackURI; // to remove |
402 | public string NewCallbackURI; | ||
402 | 403 | ||
403 | // These two must have the same Count | 404 | // These two must have the same Count |
404 | public List<ISceneObject> AttachmentObjects; | 405 | public List<ISceneObject> AttachmentObjects; |
@@ -528,6 +529,9 @@ namespace OpenSim.Framework | |||
528 | if ((CallbackURI != null) && (!CallbackURI.Equals(""))) | 529 | if ((CallbackURI != null) && (!CallbackURI.Equals(""))) |
529 | args["callback_uri"] = OSD.FromString(CallbackURI); | 530 | args["callback_uri"] = OSD.FromString(CallbackURI); |
530 | 531 | ||
532 | if ((NewCallbackURI != null) && (!NewCallbackURI.Equals(""))) | ||
533 | args["cb_uri"] = OSD.FromString(NewCallbackURI); | ||
534 | |||
531 | // Attachment objects for fatpack messages | 535 | // Attachment objects for fatpack messages |
532 | if (AttachmentObjects != null) | 536 | if (AttachmentObjects != null) |
533 | { | 537 | { |
@@ -811,12 +815,7 @@ namespace OpenSim.Framework | |||
811 | } | 815 | } |
812 | // end of code to remove | 816 | // end of code to remove |
813 | } | 817 | } |
814 | /* moved above | 818 | |
815 | if (args.ContainsKey("packed_appearance") && (args["packed_appearance"]).Type == OSDType.Map) | ||
816 | Appearance = new AvatarAppearance((OSDMap)args["packed_appearance"]); | ||
817 | else | ||
818 | m_log.WarnFormat("[CHILDAGENTDATAUPDATE] No packed appearance"); | ||
819 | */ | ||
820 | if ((args["controllers"] != null) && (args["controllers"]).Type == OSDType.Array) | 819 | if ((args["controllers"] != null) && (args["controllers"]).Type == OSDType.Array) |
821 | { | 820 | { |
822 | OSDArray controls = (OSDArray)(args["controllers"]); | 821 | OSDArray controls = (OSDArray)(args["controllers"]); |
@@ -834,6 +833,9 @@ namespace OpenSim.Framework | |||
834 | if (args["callback_uri"] != null) | 833 | if (args["callback_uri"] != null) |
835 | CallbackURI = args["callback_uri"].AsString(); | 834 | CallbackURI = args["callback_uri"].AsString(); |
836 | 835 | ||
836 | if (args["cb_uri"] != null) | ||
837 | NewCallbackURI = args["cb_uri"].AsString(); | ||
838 | |||
837 | // Attachment objects | 839 | // Attachment objects |
838 | if (args["attach_objects"] != null && args["attach_objects"].Type == OSDType.Array) | 840 | if (args["attach_objects"] != null && args["attach_objects"].Type == OSDType.Array) |
839 | { | 841 | { |