diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/AgentCircuitData.cs | 6 | ||||
-rw-r--r-- | OpenSim/Framework/AgentCircuitManager.cs | 4 | ||||
-rw-r--r-- | OpenSim/Framework/ChildAgentDataUpdate.cs | 16 | ||||
-rw-r--r-- | OpenSim/Framework/EstateSettings.cs | 8 | ||||
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 26 | ||||
-rw-r--r-- | OpenSim/Framework/ILandChannel.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/ISceneAgent.cs | 8 | ||||
-rw-r--r-- | OpenSim/Framework/Login.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/PrimitiveBaseShape.cs | 10 | ||||
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 5 | ||||
-rw-r--r-- | OpenSim/Framework/RegionInfoForEstateMenuArgs.cs | 4 | ||||
-rwxr-xr-x | OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | 3 |
12 files changed, 63 insertions, 31 deletions
diff --git a/OpenSim/Framework/AgentCircuitData.cs b/OpenSim/Framework/AgentCircuitData.cs index 5a9eeb5..330a41e 100644 --- a/OpenSim/Framework/AgentCircuitData.cs +++ b/OpenSim/Framework/AgentCircuitData.cs | |||
@@ -173,6 +173,7 @@ namespace OpenSim.Framework | |||
173 | /// Position the Agent's Avatar starts in the region | 173 | /// Position the Agent's Avatar starts in the region |
174 | /// </summary> | 174 | /// </summary> |
175 | public Vector3 startpos; | 175 | public Vector3 startpos; |
176 | public float startfar = -1.0f; | ||
176 | 177 | ||
177 | public Dictionary<string, object> ServiceURLs; | 178 | public Dictionary<string, object> ServiceURLs; |
178 | 179 | ||
@@ -219,6 +220,8 @@ namespace OpenSim.Framework | |||
219 | args["channel"] = OSD.FromString(Channel); | 220 | args["channel"] = OSD.FromString(Channel); |
220 | args["mac"] = OSD.FromString(Mac); | 221 | args["mac"] = OSD.FromString(Mac); |
221 | args["id0"] = OSD.FromString(Id0); | 222 | args["id0"] = OSD.FromString(Id0); |
223 | if(startfar > 0) | ||
224 | args["far"] = OSD.FromReal(startfar); | ||
222 | 225 | ||
223 | if (Appearance != null) | 226 | if (Appearance != null) |
224 | { | 227 | { |
@@ -327,6 +330,9 @@ namespace OpenSim.Framework | |||
327 | if (args["start_pos"] != null) | 330 | if (args["start_pos"] != null) |
328 | Vector3.TryParse(args["start_pos"].AsString(), out startpos); | 331 | Vector3.TryParse(args["start_pos"].AsString(), out startpos); |
329 | 332 | ||
333 | if(args["far"] != null) | ||
334 | startfar = (float)args["far"].AsReal(); | ||
335 | |||
330 | //m_log.InfoFormat("[AGENTCIRCUITDATA]: agentid={0}, child={1}, startpos={2}", AgentID, child, startpos); | 336 | //m_log.InfoFormat("[AGENTCIRCUITDATA]: agentid={0}, child={1}, startpos={2}", AgentID, child, startpos); |
331 | 337 | ||
332 | try | 338 | try |
diff --git a/OpenSim/Framework/AgentCircuitManager.cs b/OpenSim/Framework/AgentCircuitManager.cs index b6e48b4..2cd11ff 100644 --- a/OpenSim/Framework/AgentCircuitManager.cs +++ b/OpenSim/Framework/AgentCircuitManager.cs | |||
@@ -79,6 +79,7 @@ namespace OpenSim.Framework | |||
79 | user.LoginInfo.InventoryFolder = validcircuit.InventoryFolder; | 79 | user.LoginInfo.InventoryFolder = validcircuit.InventoryFolder; |
80 | user.LoginInfo.BaseFolder = validcircuit.BaseFolder; | 80 | user.LoginInfo.BaseFolder = validcircuit.BaseFolder; |
81 | user.LoginInfo.StartPos = validcircuit.startpos; | 81 | user.LoginInfo.StartPos = validcircuit.startpos; |
82 | user.LoginInfo.StartFar = (float)validcircuit.startfar; | ||
82 | } | 83 | } |
83 | else | 84 | else |
84 | { | 85 | { |
@@ -175,7 +176,8 @@ namespace OpenSim.Framework | |||
175 | { | 176 | { |
176 | m_agentCircuits[(uint) agentData.circuitcode].firstname = agentData.firstname; | 177 | m_agentCircuits[(uint) agentData.circuitcode].firstname = agentData.firstname; |
177 | m_agentCircuits[(uint) agentData.circuitcode].lastname = agentData.lastname; | 178 | m_agentCircuits[(uint) agentData.circuitcode].lastname = agentData.lastname; |
178 | m_agentCircuits[(uint) agentData.circuitcode].startpos = agentData.startpos; | 179 | m_agentCircuits[(uint)agentData.circuitcode].startpos = agentData.startpos; |
180 | m_agentCircuits[(uint)agentData.circuitcode].startfar = agentData.startfar; | ||
179 | 181 | ||
180 | // Updated for when we don't know them before calling Scene.NewUserConnection | 182 | // Updated for when we don't know them before calling Scene.NewUserConnection |
181 | m_agentCircuits[(uint) agentData.circuitcode].SecureSessionID = agentData.SecureSessionID; | 183 | m_agentCircuits[(uint) agentData.circuitcode].SecureSessionID = agentData.SecureSessionID; |
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 | { |
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs index 1b5ebfa..1c0b97a 100644 --- a/OpenSim/Framework/EstateSettings.cs +++ b/OpenSim/Framework/EstateSettings.cs | |||
@@ -153,7 +153,7 @@ namespace OpenSim.Framework | |||
153 | private bool m_DenyAnonymous = false; | 153 | private bool m_DenyAnonymous = false; |
154 | public bool DenyAnonymous | 154 | public bool DenyAnonymous |
155 | { | 155 | { |
156 | get { return m_DenyAnonymous; } | 156 | get { return (DoDenyAnonymous && m_DenyAnonymous); } |
157 | set { m_DenyAnonymous = value; } | 157 | set { m_DenyAnonymous = value; } |
158 | } | 158 | } |
159 | 159 | ||
@@ -233,7 +233,7 @@ namespace OpenSim.Framework | |||
233 | private bool m_DenyMinors = false; | 233 | private bool m_DenyMinors = false; |
234 | public bool DenyMinors | 234 | public bool DenyMinors |
235 | { | 235 | { |
236 | get { return m_DenyMinors; } | 236 | get { return (DoDenyMinors && m_DenyMinors); } |
237 | set { m_DenyMinors = value; } | 237 | set { m_DenyMinors = value; } |
238 | } | 238 | } |
239 | 239 | ||
@@ -379,14 +379,14 @@ namespace OpenSim.Framework | |||
379 | 379 | ||
380 | if (!HasAccess(avatarID)) | 380 | if (!HasAccess(avatarID)) |
381 | { | 381 | { |
382 | if (DoDenyMinors && DenyMinors) | 382 | if (DenyMinors) |
383 | { | 383 | { |
384 | if ((userFlags & 32) == 0) | 384 | if ((userFlags & 32) == 0) |
385 | { | 385 | { |
386 | return true; | 386 | return true; |
387 | } | 387 | } |
388 | } | 388 | } |
389 | if (DoDenyAnonymous && DenyAnonymous) | 389 | if (DenyAnonymous) |
390 | { | 390 | { |
391 | if ((userFlags & 4) == 0) | 391 | if ((userFlags & 4) == 0) |
392 | { | 392 | { |
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index d63136e..68ca52e 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -596,22 +596,33 @@ namespace OpenSim.Framework | |||
596 | public PrimUpdateFlags Flags | 596 | public PrimUpdateFlags Flags |
597 | { | 597 | { |
598 | get { return m_flags; } | 598 | get { return m_flags; } |
599 | set { m_flags = value; } | ||
599 | } | 600 | } |
600 | 601 | ||
601 | public virtual void Update() | 602 | public virtual void Update() |
602 | { | 603 | { |
603 | // we are on the new one | 604 | // we are on the new one |
604 | if (m_flags.HasFlag(PrimUpdateFlags.CancelKill)) | 605 | if (m_flags.HasFlag(PrimUpdateFlags.CancelKill)) |
605 | m_flags = PrimUpdateFlags.FullUpdatewithAnim; | 606 | { |
607 | if (m_flags.HasFlag(PrimUpdateFlags.UpdateProbe)) | ||
608 | m_flags = PrimUpdateFlags.UpdateProbe; | ||
609 | else | ||
610 | m_flags = PrimUpdateFlags.FullUpdatewithAnim; | ||
611 | } | ||
606 | } | 612 | } |
607 | 613 | ||
608 | public virtual void Update(EntityUpdate oldupdate) | 614 | public virtual void Update(EntityUpdate oldupdate) |
609 | { | 615 | { |
610 | // we are on the new one | 616 | // we are on the new one |
611 | PrimUpdateFlags updateFlags = oldupdate.Flags; | 617 | PrimUpdateFlags updateFlags = oldupdate.Flags; |
618 | if (updateFlags.HasFlag(PrimUpdateFlags.UpdateProbe)) | ||
619 | updateFlags &= ~PrimUpdateFlags.UpdateProbe; | ||
612 | if (m_flags.HasFlag(PrimUpdateFlags.CancelKill)) | 620 | if (m_flags.HasFlag(PrimUpdateFlags.CancelKill)) |
613 | { | 621 | { |
614 | m_flags = PrimUpdateFlags.FullUpdatewithAnim; | 622 | if(m_flags.HasFlag(PrimUpdateFlags.UpdateProbe)) |
623 | m_flags = PrimUpdateFlags.UpdateProbe; | ||
624 | else | ||
625 | m_flags = PrimUpdateFlags.FullUpdatewithAnim; | ||
615 | } | 626 | } |
616 | else | 627 | else |
617 | m_flags |= updateFlags; | 628 | m_flags |= updateFlags; |
@@ -679,6 +690,7 @@ namespace OpenSim.Framework | |||
679 | 690 | ||
680 | FullUpdatewithAnim = FullUpdate | Animations, | 691 | FullUpdatewithAnim = FullUpdate | Animations, |
681 | 692 | ||
693 | UpdateProbe = 0x10000000, // 1 << 28 | ||
682 | SendInTransit = 0x20000000, // 1 << 29 | 694 | SendInTransit = 0x20000000, // 1 << 29 |
683 | CancelKill = 0x40000000, // 1 << 30 | 695 | CancelKill = 0x40000000, // 1 << 30 |
684 | Kill = 0x80000000 // 1 << 31 | 696 | Kill = 0x80000000 // 1 << 31 |
@@ -696,6 +708,7 @@ namespace OpenSim.Framework | |||
696 | public interface IClientAPI | 708 | public interface IClientAPI |
697 | { | 709 | { |
698 | Vector3 StartPos { get; set; } | 710 | Vector3 StartPos { get; set; } |
711 | float StartFar { get; set; } | ||
699 | 712 | ||
700 | UUID AgentId { get; } | 713 | UUID AgentId { get; } |
701 | 714 | ||
@@ -1097,8 +1110,6 @@ namespace OpenSim.Framework | |||
1097 | 1110 | ||
1098 | void SendCachedTextureResponse(ISceneEntity avatar, int serial, List<CachedTextureResponseArg> cachedTextures); | 1111 | void SendCachedTextureResponse(ISceneEntity avatar, int serial, List<CachedTextureResponseArg> cachedTextures); |
1099 | 1112 | ||
1100 | void SendStartPingCheck(byte seq); | ||
1101 | |||
1102 | /// <summary> | 1113 | /// <summary> |
1103 | /// Tell the client that an object has been deleted | 1114 | /// Tell the client that an object has been deleted |
1104 | /// </summary> | 1115 | /// </summary> |
@@ -1108,7 +1119,7 @@ namespace OpenSim.Framework | |||
1108 | // void SendPartFullUpdate(ISceneEntity ent, uint? parentID); | 1119 | // void SendPartFullUpdate(ISceneEntity ent, uint? parentID); |
1109 | 1120 | ||
1110 | void SendAnimations(UUID[] animID, int[] seqs, UUID sourceAgentId, UUID[] objectIDs); | 1121 | void SendAnimations(UUID[] animID, int[] seqs, UUID sourceAgentId, UUID[] objectIDs); |
1111 | void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args); | 1122 | void SendRegionHandshake(); |
1112 | 1123 | ||
1113 | /// <summary> | 1124 | /// <summary> |
1114 | /// Send chat to the viewer. | 1125 | /// Send chat to the viewer. |
@@ -1224,7 +1235,8 @@ namespace OpenSim.Framework | |||
1224 | /// <param name="node"></param> | 1235 | /// <param name="node"></param> |
1225 | void SendBulkUpdateInventory(InventoryNodeBase node); | 1236 | void SendBulkUpdateInventory(InventoryNodeBase node); |
1226 | 1237 | ||
1227 | void SendXferPacket(ulong xferID, uint packet, byte[] data, bool isTaskInventory); | 1238 | void SendXferPacket(ulong xferID, uint packet, |
1239 | byte[] XferData, int XferDataOffset, int XferDatapktLen, bool isTaskInventory); | ||
1228 | 1240 | ||
1229 | void SendAbortXferPacket(ulong xferID); | 1241 | void SendAbortXferPacket(ulong xferID); |
1230 | 1242 | ||
@@ -1502,6 +1514,6 @@ namespace OpenSim.Framework | |||
1502 | void SendAgentTerseUpdate(ISceneEntity presence); | 1514 | void SendAgentTerseUpdate(ISceneEntity presence); |
1503 | 1515 | ||
1504 | void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data); | 1516 | void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data); |
1505 | void CheckViewerCaps(); | 1517 | uint GetViewerCaps(); |
1506 | } | 1518 | } |
1507 | } | 1519 | } |
diff --git a/OpenSim/Framework/ILandChannel.cs b/OpenSim/Framework/ILandChannel.cs index e5ea596..6f4a07a 100644 --- a/OpenSim/Framework/ILandChannel.cs +++ b/OpenSim/Framework/ILandChannel.cs | |||
@@ -98,6 +98,6 @@ namespace OpenSim.Region.Framework.Interfaces | |||
98 | 98 | ||
99 | void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id); | 99 | void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id); |
100 | void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id); | 100 | void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id); |
101 | void sendClientInitialLandInfo(IClientAPI remoteClient); | 101 | void sendClientInitialLandInfo(IClientAPI remoteClient, bool overlay); |
102 | } | 102 | } |
103 | } | 103 | } |
diff --git a/OpenSim/Framework/ISceneAgent.cs b/OpenSim/Framework/ISceneAgent.cs index 5d70b83..43e1b08 100644 --- a/OpenSim/Framework/ISceneAgent.cs +++ b/OpenSim/Framework/ISceneAgent.cs | |||
@@ -70,14 +70,6 @@ namespace OpenSim.Framework | |||
70 | AvatarAppearance Appearance { get; set; } | 70 | AvatarAppearance Appearance { get; set; } |
71 | 71 | ||
72 | /// <summary> | 72 | /// <summary> |
73 | /// Send initial scene data to the client controlling this agent | ||
74 | /// </summary> | ||
75 | /// <remarks> | ||
76 | /// This includes scene object data and the appearance data of other avatars. | ||
77 | /// </remarks> | ||
78 | void SendInitialDataToMe(); | ||
79 | |||
80 | /// <summary> | ||
81 | /// Direction in which the scene presence is looking. | 73 | /// Direction in which the scene presence is looking. |
82 | /// </summary> | 74 | /// </summary> |
83 | /// <remarks>Will be Vector3.Zero for a child agent.</remarks> | 75 | /// <remarks>Will be Vector3.Zero for a child agent.</remarks> |
diff --git a/OpenSim/Framework/Login.cs b/OpenSim/Framework/Login.cs index 54a6654..b8a24ea 100644 --- a/OpenSim/Framework/Login.cs +++ b/OpenSim/Framework/Login.cs | |||
@@ -42,11 +42,13 @@ namespace OpenSim.Framework | |||
42 | public UUID SecureSession = UUID.Zero; | 42 | public UUID SecureSession = UUID.Zero; |
43 | public UUID Session; | 43 | public UUID Session; |
44 | public Vector3 StartPos; | 44 | public Vector3 StartPos; |
45 | public float StartFar; | ||
45 | public AvatarAppearance Appearance; | 46 | public AvatarAppearance Appearance; |
46 | 47 | ||
47 | public Login() | 48 | public Login() |
48 | { | 49 | { |
49 | StartPos = new Vector3(128, 128, 70); | 50 | StartPos = new Vector3(128, 128, 70); |
51 | StartFar = -1; | ||
50 | } | 52 | } |
51 | } | 53 | } |
52 | } | 54 | } |
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index a5f3ba6..a49f53c 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs | |||
@@ -1039,6 +1039,7 @@ namespace OpenSim.Framework | |||
1039 | const byte LightEP = 0x20; | 1039 | const byte LightEP = 0x20; |
1040 | const byte SculptEP = 0x30; | 1040 | const byte SculptEP = 0x30; |
1041 | const byte ProjectionEP = 0x40; | 1041 | const byte ProjectionEP = 0x40; |
1042 | //const byte MeshEP = 0x60; | ||
1042 | const byte MeshFlagsEP = 0x70; | 1043 | const byte MeshFlagsEP = 0x70; |
1043 | 1044 | ||
1044 | int TotalBytesLength = 1; // ExtraParamsNum | 1045 | int TotalBytesLength = 1; // ExtraParamsNum |
@@ -1121,7 +1122,10 @@ namespace OpenSim.Framework | |||
1121 | 1122 | ||
1122 | if (_sculptEntry) | 1123 | if (_sculptEntry) |
1123 | { | 1124 | { |
1124 | returnBytes[i] = SculptEP; | 1125 | //if(_sculptType == 5) |
1126 | // returnBytes[i] = MeshEP; | ||
1127 | //else | ||
1128 | returnBytes[i] = SculptEP; | ||
1125 | i += 2; | 1129 | i += 2; |
1126 | returnBytes[i] = 17; | 1130 | returnBytes[i] = 17; |
1127 | i += 4; | 1131 | i += 4; |
@@ -1164,6 +1168,7 @@ namespace OpenSim.Framework | |||
1164 | const ushort LightEP = 0x20; | 1168 | const ushort LightEP = 0x20; |
1165 | const ushort SculptEP = 0x30; | 1169 | const ushort SculptEP = 0x30; |
1166 | const ushort ProjectionEP = 0x40; | 1170 | const ushort ProjectionEP = 0x40; |
1171 | const ushort MeshEP = 0x60; | ||
1167 | const ushort MeshFlagsEP = 0x70; | 1172 | const ushort MeshFlagsEP = 0x70; |
1168 | 1173 | ||
1169 | switch (type) | 1174 | switch (type) |
@@ -1186,6 +1191,7 @@ namespace OpenSim.Framework | |||
1186 | ReadLightData(data, 0); | 1191 | ReadLightData(data, 0); |
1187 | break; | 1192 | break; |
1188 | 1193 | ||
1194 | case MeshEP: | ||
1189 | case SculptEP: | 1195 | case SculptEP: |
1190 | if (!inUse) | 1196 | if (!inUse) |
1191 | { | 1197 | { |
@@ -1231,6 +1237,7 @@ namespace OpenSim.Framework | |||
1231 | const byte LightEP = 0x20; | 1237 | const byte LightEP = 0x20; |
1232 | const byte SculptEP = 0x30; | 1238 | const byte SculptEP = 0x30; |
1233 | const byte ProjectionEP = 0x40; | 1239 | const byte ProjectionEP = 0x40; |
1240 | const byte MeshEP = 0x60; | ||
1234 | const byte MeshFlagsEP = 0x70; | 1241 | const byte MeshFlagsEP = 0x70; |
1235 | 1242 | ||
1236 | byte extraParamCount = data[0]; | 1243 | byte extraParamCount = data[0]; |
@@ -1252,6 +1259,7 @@ namespace OpenSim.Framework | |||
1252 | i += 16; | 1259 | i += 16; |
1253 | break; | 1260 | break; |
1254 | 1261 | ||
1262 | case MeshEP: | ||
1255 | case SculptEP: | 1263 | case SculptEP: |
1256 | ReadSculptData(data, i); | 1264 | ReadSculptData(data, i); |
1257 | i += 17; | 1265 | i += 17; |
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 75ed999..98ef5d5 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -180,6 +180,7 @@ namespace OpenSim.Framework | |||
180 | 180 | ||
181 | private Dictionary<String, String> m_extraSettings = new Dictionary<string, string>(); | 181 | private Dictionary<String, String> m_extraSettings = new Dictionary<string, string>(); |
182 | 182 | ||
183 | public UUID CacheID { get; set;} | ||
183 | // Apparently, we're applying the same estatesettings regardless of whether it's local or remote. | 184 | // Apparently, we're applying the same estatesettings regardless of whether it's local or remote. |
184 | 185 | ||
185 | // MT: Yes. Estates can't span trust boundaries. Therefore, it can be | 186 | // MT: Yes. Estates can't span trust boundaries. Therefore, it can be |
@@ -196,6 +197,7 @@ namespace OpenSim.Framework | |||
196 | public RegionInfo(string description, string filename, bool skipConsoleConfig, IConfigSource configSource, string configName) | 197 | public RegionInfo(string description, string filename, bool skipConsoleConfig, IConfigSource configSource, string configName) |
197 | { | 198 | { |
198 | // m_configSource = configSource; | 199 | // m_configSource = configSource; |
200 | CacheID = UUID.Random(); | ||
199 | 201 | ||
200 | if (filename.ToLower().EndsWith(".ini")) | 202 | if (filename.ToLower().EndsWith(".ini")) |
201 | { | 203 | { |
@@ -255,6 +257,7 @@ namespace OpenSim.Framework | |||
255 | ReadNiniConfig(source, name); | 257 | ReadNiniConfig(source, name); |
256 | 258 | ||
257 | m_serverURI = string.Empty; | 259 | m_serverURI = string.Empty; |
260 | CacheID = UUID.Random(); | ||
258 | } | 261 | } |
259 | 262 | ||
260 | public RegionInfo(uint legacyRegionLocX, uint legacyRegionLocY, IPEndPoint internalEndPoint, string externalUri) | 263 | public RegionInfo(uint legacyRegionLocX, uint legacyRegionLocY, IPEndPoint internalEndPoint, string externalUri) |
@@ -266,11 +269,13 @@ namespace OpenSim.Framework | |||
266 | m_internalEndPoint = internalEndPoint; | 269 | m_internalEndPoint = internalEndPoint; |
267 | m_externalHostName = externalUri; | 270 | m_externalHostName = externalUri; |
268 | m_serverURI = string.Empty; | 271 | m_serverURI = string.Empty; |
272 | CacheID = UUID.Random(); | ||
269 | } | 273 | } |
270 | 274 | ||
271 | public RegionInfo() | 275 | public RegionInfo() |
272 | { | 276 | { |
273 | m_serverURI = string.Empty; | 277 | m_serverURI = string.Empty; |
278 | CacheID = UUID.Random(); | ||
274 | } | 279 | } |
275 | 280 | ||
276 | public EstateSettings EstateSettings | 281 | public EstateSettings EstateSettings |
diff --git a/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs b/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs index f274da2..1b828ca 100644 --- a/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs +++ b/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs | |||
@@ -33,7 +33,7 @@ namespace OpenSim.Framework | |||
33 | { | 33 | { |
34 | public float billableFactor; | 34 | public float billableFactor; |
35 | public uint estateID; | 35 | public uint estateID; |
36 | public byte maxAgents; | 36 | public int maxAgents; |
37 | public float objectBonusFactor; | 37 | public float objectBonusFactor; |
38 | public uint parentEstateID; | 38 | public uint parentEstateID; |
39 | public int pricePerMeter; | 39 | public int pricePerMeter; |
@@ -48,5 +48,7 @@ namespace OpenSim.Framework | |||
48 | public float waterHeight; | 48 | public float waterHeight; |
49 | public string simName; | 49 | public string simName; |
50 | public string regionType; | 50 | public string regionType; |
51 | public int AgentCapacity; | ||
52 | public int ObjectsCapacity; | ||
51 | } | 53 | } |
52 | } | 54 | } |
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs index 14e21a2..790aa99 100755 --- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs +++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | |||
@@ -309,7 +309,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
309 | { | 309 | { |
310 | Thread.ResetAbort(); | 310 | Thread.ResetAbort(); |
311 | // Shouldn't set this to 'false', the normal shutdown should cause things to exit | 311 | // Shouldn't set this to 'false', the normal shutdown should cause things to exit |
312 | // m_running = false; | 312 | // but robust is still not normal neither is mono |
313 | m_running = false; | ||
313 | } | 314 | } |
314 | catch (Exception e) | 315 | catch (Exception e) |
315 | { | 316 | { |