diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/LandData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Tests/AgentCircuitManagerTests.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Tests/ThreadTrackerTests.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs | 14 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/EventManager.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 17 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 51 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 52 | ||||
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 13 | ||||
-rw-r--r-- | bin/OpenSim.ini.example | 118 |
11 files changed, 119 insertions, 156 deletions
diff --git a/OpenSim/Framework/LandData.cs b/OpenSim/Framework/LandData.cs index a24af04..e639da0 100644 --- a/OpenSim/Framework/LandData.cs +++ b/OpenSim/Framework/LandData.cs | |||
@@ -520,7 +520,7 @@ namespace OpenSim.Framework | |||
520 | } | 520 | } |
521 | 521 | ||
522 | /// <summary> | 522 | /// <summary> |
523 | /// Depreciated idea. Number of visitors ~= free money | 523 | /// Deprecated idea. Number of visitors ~= free money |
524 | /// </summary> | 524 | /// </summary> |
525 | public int Dwell { | 525 | public int Dwell { |
526 | get { | 526 | get { |
diff --git a/OpenSim/Framework/Tests/AgentCircuitManagerTests.cs b/OpenSim/Framework/Tests/AgentCircuitManagerTests.cs index ab5f04a..6c98897 100644 --- a/OpenSim/Framework/Tests/AgentCircuitManagerTests.cs +++ b/OpenSim/Framework/Tests/AgentCircuitManagerTests.cs | |||
@@ -64,7 +64,7 @@ namespace OpenSim.Framework.Tests | |||
64 | Vector3 StartPos = new Vector3(5, 23, 125); | 64 | Vector3 StartPos = new Vector3(5, 23, 125); |
65 | 65 | ||
66 | UUID SecureSessionId = UUID.Random(); | 66 | UUID SecureSessionId = UUID.Random(); |
67 | UUID SessionId = UUID.Random(); | 67 | // TODO: unused: UUID SessionId = UUID.Random(); |
68 | 68 | ||
69 | m_agentCircuitData1 = new AgentCircuitData(); | 69 | m_agentCircuitData1 = new AgentCircuitData(); |
70 | m_agentCircuitData1.AgentID = AgentId1; | 70 | m_agentCircuitData1.AgentID = AgentId1; |
diff --git a/OpenSim/Framework/Tests/ThreadTrackerTests.cs b/OpenSim/Framework/Tests/ThreadTrackerTests.cs index 37c75ef..15d5b73 100644 --- a/OpenSim/Framework/Tests/ThreadTrackerTests.cs +++ b/OpenSim/Framework/Tests/ThreadTrackerTests.cs | |||
@@ -161,7 +161,7 @@ namespace OpenSim.Framework.Tests | |||
161 | /// Worker thread 0 | 161 | /// Worker thread 0 |
162 | /// </summary> | 162 | /// </summary> |
163 | /// <param name="o"></param> | 163 | /// <param name="o"></param> |
164 | public void run( object o) | 164 | public void run(object o) |
165 | { | 165 | { |
166 | while (running) | 166 | while (running) |
167 | { | 167 | { |
diff --git a/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs index bcf20be..e9c1e9d 100644 --- a/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs +++ b/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs | |||
@@ -450,7 +450,7 @@ namespace OpenSim.Region.CoreModules.InterGrid | |||
450 | 450 | ||
451 | responseMap["sim_host"] = OSD.FromString(reg.ExternalHostName); | 451 | responseMap["sim_host"] = OSD.FromString(reg.ExternalHostName); |
452 | 452 | ||
453 | // DEPRECIATED | 453 | // DEPRECATED |
454 | responseMap["sim_ip"] = OSD.FromString(Util.GetHostFromDNS(reg.ExternalHostName).ToString()); | 454 | responseMap["sim_ip"] = OSD.FromString(Util.GetHostFromDNS(reg.ExternalHostName).ToString()); |
455 | 455 | ||
456 | responseMap["connect"] = OSD.FromBoolean(true); | 456 | responseMap["connect"] = OSD.FromBoolean(true); |
@@ -591,7 +591,7 @@ namespace OpenSim.Region.CoreModules.InterGrid | |||
591 | httpaddr = httpsCN; | 591 | httpaddr = httpsCN; |
592 | } | 592 | } |
593 | 593 | ||
594 | // DEPRECIATED | 594 | // DEPRECATED |
595 | responseMap["seed_capability"] | 595 | responseMap["seed_capability"] |
596 | = OSD.FromString( | 596 | = OSD.FromString( |
597 | regionCapsHttpProtocol + httpaddr + ":" + reg.HttpPort + CapsUtil.GetCapsSeedPath(userCap.CapsObjectPath)); | 597 | regionCapsHttpProtocol + httpaddr + ":" + reg.HttpPort + CapsUtil.GetCapsSeedPath(userCap.CapsObjectPath)); |
@@ -764,7 +764,7 @@ namespace OpenSim.Region.CoreModules.InterGrid | |||
764 | responseMap["sim_port"] = OSD.FromInteger(reg.InternalEndPoint.Port); | 764 | responseMap["sim_port"] = OSD.FromInteger(reg.InternalEndPoint.Port); |
765 | responseMap["sim_host"] = OSD.FromString(reg.ExternalHostName);// + ":" + reg.InternalEndPoint.Port.ToString()); | 765 | responseMap["sim_host"] = OSD.FromString(reg.ExternalHostName);// + ":" + reg.InternalEndPoint.Port.ToString()); |
766 | 766 | ||
767 | // DEPRECIATED | 767 | // DEPRECATED |
768 | responseMap["sim_ip"] = OSD.FromString(Util.GetHostFromDNS(reg.ExternalHostName).ToString()); | 768 | responseMap["sim_ip"] = OSD.FromString(Util.GetHostFromDNS(reg.ExternalHostName).ToString()); |
769 | 769 | ||
770 | responseMap["session_id"] = OSD.FromUUID(SessionID); | 770 | responseMap["session_id"] = OSD.FromUUID(SessionID); |
@@ -851,7 +851,7 @@ namespace OpenSim.Region.CoreModules.InterGrid | |||
851 | 851 | ||
852 | string rezRespSeedCap = ""; | 852 | string rezRespSeedCap = ""; |
853 | 853 | ||
854 | // DEPRECIATED | 854 | // DEPRECATED |
855 | if (rezResponseMap.ContainsKey("seed_capability")) | 855 | if (rezResponseMap.ContainsKey("seed_capability")) |
856 | rezRespSeedCap = rezResponseMap["seed_capability"].AsString(); | 856 | rezRespSeedCap = rezResponseMap["seed_capability"].AsString(); |
857 | 857 | ||
@@ -863,7 +863,7 @@ namespace OpenSim.Region.CoreModules.InterGrid | |||
863 | if (rezResponseMap.ContainsKey("rez_avatar/rez")) | 863 | if (rezResponseMap.ContainsKey("rez_avatar/rez")) |
864 | rezRespSeedCap = rezResponseMap["rez_avatar/rez"].AsString(); | 864 | rezRespSeedCap = rezResponseMap["rez_avatar/rez"].AsString(); |
865 | 865 | ||
866 | // DEPRECIATED | 866 | // DEPRECATED |
867 | string rezRespSim_ip = rezResponseMap["sim_ip"].AsString(); | 867 | string rezRespSim_ip = rezResponseMap["sim_ip"].AsString(); |
868 | 868 | ||
869 | string rezRespSim_host = rezResponseMap["sim_host"].AsString(); | 869 | string rezRespSim_host = rezResponseMap["sim_host"].AsString(); |
@@ -879,13 +879,13 @@ namespace OpenSim.Region.CoreModules.InterGrid | |||
879 | { | 879 | { |
880 | RezResponsePositionArray = (OSDArray)rezResponseMap["position"]; | 880 | RezResponsePositionArray = (OSDArray)rezResponseMap["position"]; |
881 | } | 881 | } |
882 | // DEPRECIATED | 882 | // DEPRECATED |
883 | responseMap["seed_capability"] = OSD.FromString(rezRespSeedCap); | 883 | responseMap["seed_capability"] = OSD.FromString(rezRespSeedCap); |
884 | 884 | ||
885 | // REPLACEMENT r3 | 885 | // REPLACEMENT r3 |
886 | responseMap["region_seed_capability"] = OSD.FromString(rezRespSeedCap); | 886 | responseMap["region_seed_capability"] = OSD.FromString(rezRespSeedCap); |
887 | 887 | ||
888 | // DEPRECIATED | 888 | // DEPRECATED |
889 | responseMap["sim_ip"] = OSD.FromString(Util.GetHostFromDNS(rezRespSim_ip).ToString()); | 889 | responseMap["sim_ip"] = OSD.FromString(Util.GetHostFromDNS(rezRespSim_ip).ToString()); |
890 | 890 | ||
891 | responseMap["sim_host"] = OSD.FromString(rezRespSim_host); | 891 | responseMap["sim_host"] = OSD.FromString(rezRespSim_host); |
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs index 7bbe045..287d8d9 100644 --- a/OpenSim/Region/Framework/Scenes/EventManager.cs +++ b/OpenSim/Region/Framework/Scenes/EventManager.cs | |||
@@ -63,7 +63,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
63 | public delegate void OnNewClientDelegate(IClientAPI client); | 63 | public delegate void OnNewClientDelegate(IClientAPI client); |
64 | 64 | ||
65 | /// <summary> | 65 | /// <summary> |
66 | /// Depreciated in favour of OnClientConnect. | 66 | /// Deprecated in favour of OnClientConnect. |
67 | /// Will be marked Obsolete after IClientCore has 100% of IClientAPI interfaces. | 67 | /// Will be marked Obsolete after IClientCore has 100% of IClientAPI interfaces. |
68 | /// </summary> | 68 | /// </summary> |
69 | public event OnNewClientDelegate OnNewClient; | 69 | public event OnNewClientDelegate OnNewClient; |
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 0e0999a..7771831 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -928,25 +928,22 @@ namespace OpenSim.Region.Framework.Scenes | |||
928 | { | 928 | { |
929 | // Primitive Ray Tracing | 929 | // Primitive Ray Tracing |
930 | float closestDistance = 280f; | 930 | float closestDistance = 280f; |
931 | EntityIntersection returnResult = new EntityIntersection(); | 931 | EntityIntersection result = new EntityIntersection(); |
932 | List<EntityBase> EntityList = GetEntities(); | 932 | List<EntityBase> EntityList = GetEntities(); |
933 | foreach (EntityBase ent in EntityList) | 933 | foreach (EntityBase ent in EntityList) |
934 | { | 934 | { |
935 | if (ent is SceneObjectGroup) | 935 | if (ent is SceneObjectGroup) |
936 | { | 936 | { |
937 | SceneObjectGroup reportingG = (SceneObjectGroup)ent; | 937 | SceneObjectGroup reportingG = (SceneObjectGroup)ent; |
938 | EntityIntersection result = reportingG.TestIntersection(hray, frontFacesOnly, faceCenters); | 938 | EntityIntersection inter = reportingG.TestIntersection(hray, frontFacesOnly, faceCenters); |
939 | if (result.HitTF) | 939 | if (inter.HitTF && inter.distance < closestDistance) |
940 | { | 940 | { |
941 | if (result.distance < closestDistance) | 941 | closestDistance = inter.distance; |
942 | { | 942 | result = inter; |
943 | closestDistance = result.distance; | ||
944 | returnResult = result; | ||
945 | } | ||
946 | } | 943 | } |
947 | } | 944 | } |
948 | } | 945 | } |
949 | return returnResult; | 946 | return result; |
950 | } | 947 | } |
951 | 948 | ||
952 | /// <summary> | 949 | /// <summary> |
@@ -979,7 +976,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
979 | { | 976 | { |
980 | foreach (SceneObjectPart p in ((SceneObjectGroup) ent).GetParts()) | 977 | foreach (SceneObjectPart p in ((SceneObjectGroup) ent).GetParts()) |
981 | { | 978 | { |
982 | if (p.Name==name) | 979 | if (p.Name == name) |
983 | { | 980 | { |
984 | return p; | 981 | return p; |
985 | } | 982 | } |
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index c86e4a1..bc3d5c0 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -555,7 +555,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
555 | // If we get a result, we're going to find the closest result to the origin of the ray | 555 | // If we get a result, we're going to find the closest result to the origin of the ray |
556 | // and send back the intersection information back to the innerscene. | 556 | // and send back the intersection information back to the innerscene. |
557 | 557 | ||
558 | EntityIntersection returnresult = new EntityIntersection(); | 558 | EntityIntersection result = new EntityIntersection(); |
559 | 559 | ||
560 | lock (m_parts) | 560 | lock (m_parts) |
561 | { | 561 | { |
@@ -576,26 +576,23 @@ namespace OpenSim.Region.Framework.Scenes | |||
576 | // when the camera crosses the border. | 576 | // when the camera crosses the border. |
577 | float idist = Constants.RegionSize; | 577 | float idist = Constants.RegionSize; |
578 | 578 | ||
579 | |||
580 | if (inter.HitTF) | 579 | if (inter.HitTF) |
581 | { | 580 | { |
582 | // We need to find the closest prim to return to the testcaller along the ray | 581 | // We need to find the closest prim to return to the testcaller along the ray |
583 | if (inter.distance < idist) | 582 | if (inter.distance < idist) |
584 | { | 583 | { |
585 | returnresult.HitTF = true; | 584 | result.HitTF = true; |
586 | returnresult.ipoint = inter.ipoint; | 585 | result.ipoint = inter.ipoint; |
587 | returnresult.obj = part; | 586 | result.obj = part; |
588 | returnresult.normal = inter.normal; | 587 | result.normal = inter.normal; |
589 | returnresult.distance = inter.distance; | 588 | result.distance = inter.distance; |
590 | } | 589 | } |
591 | } | 590 | } |
592 | } | 591 | } |
593 | } | 592 | } |
594 | return returnresult; | 593 | return result; |
595 | } | 594 | } |
596 | 595 | ||
597 | |||
598 | |||
599 | /// <summary> | 596 | /// <summary> |
600 | /// Gets a vector representing the size of the bounding box containing all the prims in the group | 597 | /// Gets a vector representing the size of the bounding box containing all the prims in the group |
601 | /// Treats all prims as rectangular, so no shape (cut etc) is taken into account | 598 | /// Treats all prims as rectangular, so no shape (cut etc) is taken into account |
@@ -652,7 +649,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
652 | frontBottomRight.Y = orig.Y + (part.Scale.Y / 2); | 649 | frontBottomRight.Y = orig.Y + (part.Scale.Y / 2); |
653 | frontBottomRight.Z = orig.Z - (part.Scale.Z / 2); | 650 | frontBottomRight.Z = orig.Z - (part.Scale.Z / 2); |
654 | 651 | ||
655 | |||
656 | backTopLeft.X = orig.X + (part.Scale.X / 2); | 652 | backTopLeft.X = orig.X + (part.Scale.X / 2); |
657 | backTopLeft.Y = orig.Y - (part.Scale.Y / 2); | 653 | backTopLeft.Y = orig.Y - (part.Scale.Y / 2); |
658 | backTopLeft.Z = orig.Z + (part.Scale.Z / 2); | 654 | backTopLeft.Z = orig.Z + (part.Scale.Z / 2); |
@@ -839,7 +835,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
839 | if (backBottomLeft.Z < minZ) | 835 | if (backBottomLeft.Z < minZ) |
840 | minZ = backBottomLeft.Z; | 836 | minZ = backBottomLeft.Z; |
841 | } | 837 | } |
842 | |||
843 | } | 838 | } |
844 | 839 | ||
845 | Vector3 boundingBox = new Vector3(maxX - minX, maxY - minY, maxZ - minZ); | 840 | Vector3 boundingBox = new Vector3(maxX - minX, maxY - minY, maxZ - minZ); |
@@ -860,6 +855,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
860 | // m_log.InfoFormat("BoundingBox is {0} , {1} , {2} ", boundingBox.X, boundingBox.Y, boundingBox.Z); | 855 | // m_log.InfoFormat("BoundingBox is {0} , {1} , {2} ", boundingBox.X, boundingBox.Y, boundingBox.Z); |
861 | return boundingBox; | 856 | return boundingBox; |
862 | } | 857 | } |
858 | |||
863 | #endregion | 859 | #endregion |
864 | 860 | ||
865 | public void SaveScriptedState(XmlTextWriter writer) | 861 | public void SaveScriptedState(XmlTextWriter writer) |
@@ -1029,8 +1025,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1029 | //m_rootPart.ApplyPhysics(m_rootPart.GetEffectiveObjectFlags(), m_scene.m_physicalPrim); | 1025 | //m_rootPart.ApplyPhysics(m_rootPart.GetEffectiveObjectFlags(), m_scene.m_physicalPrim); |
1030 | //AttachToBackup(); | 1026 | //AttachToBackup(); |
1031 | //m_rootPart.ScheduleFullUpdate(); | 1027 | //m_rootPart.ScheduleFullUpdate(); |
1032 | |||
1033 | } | 1028 | } |
1029 | |||
1034 | /// <summary> | 1030 | /// <summary> |
1035 | /// | 1031 | /// |
1036 | /// </summary> | 1032 | /// </summary> |
@@ -1130,6 +1126,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1130 | } | 1126 | } |
1131 | } | 1127 | } |
1132 | } | 1128 | } |
1129 | |||
1133 | // helper provided for parts. | 1130 | // helper provided for parts. |
1134 | public int GetSceneMaxUndo() | 1131 | public int GetSceneMaxUndo() |
1135 | { | 1132 | { |
@@ -1183,7 +1180,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1183 | { | 1180 | { |
1184 | SceneObjectPart part = GetChildPart(localId); | 1181 | SceneObjectPart part = GetChildPart(localId); |
1185 | OnGrabPart(part, offsetPos, remoteClient); | 1182 | OnGrabPart(part, offsetPos, remoteClient); |
1186 | |||
1187 | } | 1183 | } |
1188 | } | 1184 | } |
1189 | 1185 | ||
@@ -1267,28 +1263,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1267 | } | 1263 | } |
1268 | } | 1264 | } |
1269 | 1265 | ||
1270 | if ((aggregateScriptEvents & scriptEvents.at_target) != 0) | 1266 | m_scriptListens_atTarget = ((aggregateScriptEvents & scriptEvents.at_target) != 0); |
1271 | { | 1267 | m_scriptListens_notAtTarget = ((aggregateScriptEvents & scriptEvents.not_at_target) != 0); |
1272 | m_scriptListens_atTarget = true; | ||
1273 | } | ||
1274 | else | ||
1275 | { | ||
1276 | m_scriptListens_atTarget = false; | ||
1277 | } | ||
1278 | |||
1279 | if ((aggregateScriptEvents & scriptEvents.not_at_target) != 0) | ||
1280 | { | ||
1281 | m_scriptListens_notAtTarget = true; | ||
1282 | } | ||
1283 | else | ||
1284 | { | ||
1285 | m_scriptListens_notAtTarget = false; | ||
1286 | } | ||
1287 | 1268 | ||
1288 | if (m_scriptListens_atTarget || m_scriptListens_notAtTarget) | 1269 | if (!m_scriptListens_atTarget && !m_scriptListens_notAtTarget) |
1289 | { | ||
1290 | } | ||
1291 | else | ||
1292 | { | 1270 | { |
1293 | lock (m_targets) | 1271 | lock (m_targets) |
1294 | m_targets.Clear(); | 1272 | m_targets.Clear(); |
@@ -1787,9 +1765,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1787 | } | 1765 | } |
1788 | } | 1766 | } |
1789 | 1767 | ||
1790 | |||
1791 | |||
1792 | |||
1793 | /// <summary> | 1768 | /// <summary> |
1794 | /// Set the owner of the root part. | 1769 | /// Set the owner of the root part. |
1795 | /// </summary> | 1770 | /// </summary> |
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 3646811..5a74bad 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2710,11 +2710,10 @@ if (m_shape != null) { | |||
2710 | 2710 | ||
2711 | public EntityIntersection TestIntersection(Ray iray, Quaternion parentrot) | 2711 | public EntityIntersection TestIntersection(Ray iray, Quaternion parentrot) |
2712 | { | 2712 | { |
2713 | // In this case we're using a sphere with a radius of the largest dimention of the prim | 2713 | // In this case we're using a sphere with a radius of the largest dimension of the prim |
2714 | // TODO: Change to take shape into account | 2714 | // TODO: Change to take shape into account |
2715 | 2715 | ||
2716 | 2716 | EntityIntersection result = new EntityIntersection(); | |
2717 | EntityIntersection returnresult = new EntityIntersection(); | ||
2718 | Vector3 vAbsolutePosition = AbsolutePosition; | 2717 | Vector3 vAbsolutePosition = AbsolutePosition; |
2719 | Vector3 vScale = Scale; | 2718 | Vector3 vScale = Scale; |
2720 | Vector3 rOrigin = iray.Origin; | 2719 | Vector3 rOrigin = iray.Origin; |
@@ -2738,8 +2737,7 @@ if (m_shape != null) { | |||
2738 | 2737 | ||
2739 | Vector3 tmVal6 = vAbsolutePosition*rOrigin; | 2738 | Vector3 tmVal6 = vAbsolutePosition*rOrigin; |
2740 | 2739 | ||
2741 | 2740 | // Set Radius to the largest dimension of the prim | |
2742 | // Set Radius to the largest dimention of the prim | ||
2743 | float radius = 0f; | 2741 | float radius = 0f; |
2744 | if (vScale.X > radius) | 2742 | if (vScale.X > radius) |
2745 | radius = vScale.X; | 2743 | radius = vScale.X; |
@@ -2765,7 +2763,7 @@ if (m_shape != null) { | |||
2765 | if (rootsqr < 0.0f) | 2763 | if (rootsqr < 0.0f) |
2766 | { | 2764 | { |
2767 | // No intersection | 2765 | // No intersection |
2768 | return returnresult; | 2766 | return result; |
2769 | } | 2767 | } |
2770 | float root = ((-itestPart2) - (float) Math.Sqrt((double) rootsqr))/(itestPart1*2.0f); | 2768 | float root = ((-itestPart2) - (float) Math.Sqrt((double) rootsqr))/(itestPart1*2.0f); |
2771 | 2769 | ||
@@ -2778,7 +2776,7 @@ if (m_shape != null) { | |||
2778 | if (root < 0.0f) | 2776 | if (root < 0.0f) |
2779 | { | 2777 | { |
2780 | // nope, no intersection | 2778 | // nope, no intersection |
2781 | return returnresult; | 2779 | return result; |
2782 | } | 2780 | } |
2783 | } | 2781 | } |
2784 | 2782 | ||
@@ -2788,12 +2786,12 @@ if (m_shape != null) { | |||
2788 | new Vector3(iray.Origin.X + (iray.Direction.X*root), iray.Origin.Y + (iray.Direction.Y*root), | 2786 | new Vector3(iray.Origin.X + (iray.Direction.X*root), iray.Origin.Y + (iray.Direction.Y*root), |
2789 | iray.Origin.Z + (iray.Direction.Z*root)); | 2787 | iray.Origin.Z + (iray.Direction.Z*root)); |
2790 | 2788 | ||
2791 | returnresult.HitTF = true; | 2789 | result.HitTF = true; |
2792 | returnresult.ipoint = ipoint; | 2790 | result.ipoint = ipoint; |
2793 | 2791 | ||
2794 | // Normal is calculated by the difference and then normalizing the result | 2792 | // Normal is calculated by the difference and then normalizing the result |
2795 | Vector3 normalpart = ipoint - vAbsolutePosition; | 2793 | Vector3 normalpart = ipoint - vAbsolutePosition; |
2796 | returnresult.normal = normalpart / normalpart.Length(); | 2794 | result.normal = normalpart / normalpart.Length(); |
2797 | 2795 | ||
2798 | // It's funny how the Vector3 object has a Distance function, but the Axiom.Math object doesn't. | 2796 | // It's funny how the Vector3 object has a Distance function, but the Axiom.Math object doesn't. |
2799 | // I can write a function to do it.. but I like the fact that this one is Static. | 2797 | // I can write a function to do it.. but I like the fact that this one is Static. |
@@ -2802,9 +2800,9 @@ if (m_shape != null) { | |||
2802 | Vector3 distanceConvert2 = new Vector3(ipoint.X, ipoint.Y, ipoint.Z); | 2800 | Vector3 distanceConvert2 = new Vector3(ipoint.X, ipoint.Y, ipoint.Z); |
2803 | float distance = (float) Util.GetDistanceTo(distanceConvert1, distanceConvert2); | 2801 | float distance = (float) Util.GetDistanceTo(distanceConvert1, distanceConvert2); |
2804 | 2802 | ||
2805 | returnresult.distance = distance; | 2803 | result.distance = distance; |
2806 | 2804 | ||
2807 | return returnresult; | 2805 | return result; |
2808 | } | 2806 | } |
2809 | 2807 | ||
2810 | public EntityIntersection TestIntersectionOBB(Ray iray, Quaternion parentrot, bool frontFacesOnly, bool faceCenters) | 2808 | public EntityIntersection TestIntersectionOBB(Ray iray, Quaternion parentrot, bool frontFacesOnly, bool faceCenters) |
@@ -3008,9 +3006,9 @@ if (m_shape != null) { | |||
3008 | //distance[i] = (normals[i].X * AmBa.X + normals[i].Y * AmBa.Y + normals[i].Z * AmBa.Z) * -1; | 3006 | //distance[i] = (normals[i].X * AmBa.X + normals[i].Y * AmBa.Y + normals[i].Z * AmBa.Z) * -1; |
3009 | } | 3007 | } |
3010 | 3008 | ||
3011 | EntityIntersection returnresult = new EntityIntersection(); | 3009 | EntityIntersection result = new EntityIntersection(); |
3012 | 3010 | ||
3013 | returnresult.distance = 1024; | 3011 | result.distance = 1024; |
3014 | float c = 0; | 3012 | float c = 0; |
3015 | float a = 0; | 3013 | float a = 0; |
3016 | float d = 0; | 3014 | float d = 0; |
@@ -3030,7 +3028,7 @@ if (m_shape != null) { | |||
3030 | //{ | 3028 | //{ |
3031 | //if (iray.Origin.Dot(normals[i]) > d) | 3029 | //if (iray.Origin.Dot(normals[i]) > d) |
3032 | //{ | 3030 | //{ |
3033 | //return returnresult; | 3031 | //return result; |
3034 | //} | 3032 | //} |
3035 | // else | 3033 | // else |
3036 | //{ | 3034 | //{ |
@@ -3044,7 +3042,7 @@ if (m_shape != null) { | |||
3044 | //{ | 3042 | //{ |
3045 | //if (a > fmin) | 3043 | //if (a > fmin) |
3046 | //{ | 3044 | //{ |
3047 | //return returnresult; | 3045 | //return result; |
3048 | //} | 3046 | //} |
3049 | //fmax = a; | 3047 | //fmax = a; |
3050 | //} | 3048 | //} |
@@ -3056,7 +3054,7 @@ if (m_shape != null) { | |||
3056 | //{ | 3054 | //{ |
3057 | //if (a < 0 || a < fmax) | 3055 | //if (a < 0 || a < fmax) |
3058 | //{ | 3056 | //{ |
3059 | //return returnresult; | 3057 | //return result; |
3060 | //} | 3058 | //} |
3061 | //fmin = a; | 3059 | //fmin = a; |
3062 | //} | 3060 | //} |
@@ -3112,17 +3110,17 @@ if (m_shape != null) { | |||
3112 | // distance2 = (float)GetDistanceTo(q, iray.Origin); | 3110 | // distance2 = (float)GetDistanceTo(q, iray.Origin); |
3113 | //} | 3111 | //} |
3114 | 3112 | ||
3115 | if (distance2 < returnresult.distance) | 3113 | if (distance2 < result.distance) |
3116 | { | 3114 | { |
3117 | returnresult.distance = distance2; | 3115 | result.distance = distance2; |
3118 | returnresult.HitTF = true; | 3116 | result.HitTF = true; |
3119 | returnresult.ipoint = q; | 3117 | result.ipoint = q; |
3120 | //m_log.Info("[FACE]:" + i.ToString()); | 3118 | //m_log.Info("[FACE]:" + i.ToString()); |
3121 | //m_log.Info("[POINT]: " + q.ToString()); | 3119 | //m_log.Info("[POINT]: " + q.ToString()); |
3122 | //m_log.Info("[DIST]: " + distance2.ToString()); | 3120 | //m_log.Info("[DIST]: " + distance2.ToString()); |
3123 | if (faceCenters) | 3121 | if (faceCenters) |
3124 | { | 3122 | { |
3125 | returnresult.normal = AAfacenormals[i] * AXrot; | 3123 | result.normal = AAfacenormals[i] * AXrot; |
3126 | 3124 | ||
3127 | Vector3 scaleComponent = AAfacenormals[i]; | 3125 | Vector3 scaleComponent = AAfacenormals[i]; |
3128 | float ScaleOffset = 0.5f; | 3126 | float ScaleOffset = 0.5f; |
@@ -3130,20 +3128,20 @@ if (m_shape != null) { | |||
3130 | if (scaleComponent.Y != 0) ScaleOffset = AXscale.Y; | 3128 | if (scaleComponent.Y != 0) ScaleOffset = AXscale.Y; |
3131 | if (scaleComponent.Z != 0) ScaleOffset = AXscale.Z; | 3129 | if (scaleComponent.Z != 0) ScaleOffset = AXscale.Z; |
3132 | ScaleOffset = Math.Abs(ScaleOffset); | 3130 | ScaleOffset = Math.Abs(ScaleOffset); |
3133 | Vector3 offset = returnresult.normal * ScaleOffset; | 3131 | Vector3 offset = result.normal * ScaleOffset; |
3134 | returnresult.ipoint = AXpos + offset; | 3132 | result.ipoint = AXpos + offset; |
3135 | 3133 | ||
3136 | ///pos = (intersectionpoint + offset); | 3134 | ///pos = (intersectionpoint + offset); |
3137 | } | 3135 | } |
3138 | else | 3136 | else |
3139 | { | 3137 | { |
3140 | returnresult.normal = normals[i]; | 3138 | result.normal = normals[i]; |
3141 | } | 3139 | } |
3142 | returnresult.AAfaceNormal = AAfacenormals[i]; | 3140 | result.AAfaceNormal = AAfacenormals[i]; |
3143 | } | 3141 | } |
3144 | } | 3142 | } |
3145 | } | 3143 | } |
3146 | return returnresult; | 3144 | return result; |
3147 | } | 3145 | } |
3148 | 3146 | ||
3149 | /// <summary> | 3147 | /// <summary> |
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs index 6415250..19f7210 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs | |||
@@ -212,6 +212,6 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
212 | bool Bright { get; set; } // SetPrimParms(FULLBRIGHT) | 212 | bool Bright { get; set; } // SetPrimParms(FULLBRIGHT) |
213 | double Bloom { get; set; } // SetPrimParms(GLOW) | 213 | double Bloom { get; set; } // SetPrimParms(GLOW) |
214 | bool Shiny { get; set; } // SetPrimParms(SHINY) | 214 | bool Shiny { get; set; } // SetPrimParms(SHINY) |
215 | bool BumpMap { get; set; } // SetPrimParms(BUMPMAP) [DEPRECIATE IN FAVOUR OF UUID?] | 215 | bool BumpMap { get; set; } // SetPrimParms(BUMPMAP) [DEPRECATE IN FAVOUR OF UUID?] |
216 | } | 216 | } |
217 | } | 217 | } |
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 8fdc5a7..b7030f1 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -347,18 +347,13 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
347 | #endif | 347 | #endif |
348 | } | 348 | } |
349 | 349 | ||
350 | // zero out a heightmap array float array (single dimention [flattened])) | 350 | // zero out a heightmap array float array (single dimension [flattened])) |
351 | if ((int)Constants.RegionSize == 256) | 351 | if ((int)Constants.RegionSize == 256) |
352 | _heightmap = new float[514*514]; | 352 | _heightmap = new float[514*514]; |
353 | else | 353 | else |
354 | _heightmap = new float[(((int)Constants.RegionSize + 2) * ((int)Constants.RegionSize + 2))]; | 354 | _heightmap = new float[(((int)Constants.RegionSize + 2) * ((int)Constants.RegionSize + 2))]; |
355 | _watermap = new float[258 * 258]; | 355 | _watermap = new float[258 * 258]; |
356 | 356 | ||
357 | |||
358 | |||
359 | |||
360 | |||
361 | |||
362 | // Zero out the prim spaces array (we split our space into smaller spaces so | 357 | // Zero out the prim spaces array (we split our space into smaller spaces so |
363 | // we can hit test less. | 358 | // we can hit test less. |
364 | } | 359 | } |
@@ -2197,7 +2192,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2197 | } | 2192 | } |
2198 | 2193 | ||
2199 | /// <summary> | 2194 | /// <summary> |
2200 | /// Called when a static prim moves. Allocates a space for the prim based on it's position | 2195 | /// Called when a static prim moves. Allocates a space for the prim based on its position |
2201 | /// </summary> | 2196 | /// </summary> |
2202 | /// <param name="geom">the pointer to the geom that moved</param> | 2197 | /// <param name="geom">the pointer to the geom that moved</param> |
2203 | /// <param name="pos">the position that the geom moved to</param> | 2198 | /// <param name="pos">the position that the geom moved to</param> |
@@ -3013,7 +3008,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
3013 | float[] returnarr = new float[262144]; | 3008 | float[] returnarr = new float[262144]; |
3014 | float[,] resultarr = new float[m_regionWidth, m_regionHeight]; | 3009 | float[,] resultarr = new float[m_regionWidth, m_regionHeight]; |
3015 | 3010 | ||
3016 | // Filling out the array into it's multi-dimentional components | 3011 | // Filling out the array into its multi-dimensional components |
3017 | for (int y = 0; y < m_regionHeight; y++) | 3012 | for (int y = 0; y < m_regionHeight; y++) |
3018 | { | 3013 | { |
3019 | for (int x = 0; x < m_regionWidth; x++) | 3014 | for (int x = 0; x < m_regionWidth; x++) |
@@ -3126,7 +3121,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
3126 | float[] returnarr = new float[262144]; | 3121 | float[] returnarr = new float[262144]; |
3127 | float[,] resultarr = new float[m_regionWidth,m_regionHeight]; | 3122 | float[,] resultarr = new float[m_regionWidth,m_regionHeight]; |
3128 | 3123 | ||
3129 | // Filling out the array into it's multi-dimentional components | 3124 | // Filling out the array into its multi-dimensional components |
3130 | for (int y = 0; y < m_regionHeight; y++) | 3125 | for (int y = 0; y < m_regionHeight; y++) |
3131 | { | 3126 | { |
3132 | for (int x = 0; x < m_regionWidth; x++) | 3127 | for (int x = 0; x < m_regionWidth; x++) |
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index ff8fa5f..db993b4 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -4,7 +4,7 @@ | |||
4 | save_crashes = false | 4 | save_crashes = false |
5 | 5 | ||
6 | ; Directory to save crashes to if above is enabled | 6 | ; Directory to save crashes to if above is enabled |
7 | ; (eg default is /opensimdir/crashes/*.txt or C:\opensim\crashes\*.txt) | 7 | ; (default is /opensimdir/crashes/*.txt or C:\opensim\crashes\*.txt) |
8 | crash_dir = "crashes" | 8 | crash_dir = "crashes" |
9 | 9 | ||
10 | ; Place to create a PID file | 10 | ; Place to create a PID file |
@@ -14,16 +14,16 @@ | |||
14 | ; Set HttpProxy to the URL for your proxy server if you would like | 14 | ; Set HttpProxy to the URL for your proxy server if you would like |
15 | ; to proxy llHTTPRequests through a firewall | 15 | ; to proxy llHTTPRequests through a firewall |
16 | ; HttpProxy = "http://proxy.com" | 16 | ; HttpProxy = "http://proxy.com" |
17 | ; Set HttpProxyExceptions to a list of regular expressions for | 17 | ; Set HttpProxyExceptions to a list of regular expressions for |
18 | ; URLs that you don't want going through the proxy such as servers | 18 | ; URLs that you don't want going through the proxy such as servers |
19 | ; inside your firewall, separate patterns with a ';' | 19 | ; inside your firewall, separate patterns with a ';' |
20 | ; HttpProxyExceptions = ".mydomain.com;localhost" | 20 | ; HttpProxyExceptions = ".mydomain.com;localhost" |
21 | 21 | ||
22 | ; Set this to true if you are connecting your OpenSimulator regions to a grid | 22 | ; Set this to true if you are connecting your regions to a grid |
23 | ; Set this to false if you are running OpenSimulator in standalone mode | 23 | ; Set this to false if you are running in standalone mode |
24 | gridmode = false | 24 | gridmode = false |
25 | 25 | ||
26 | ; Set this to true if you want this OpenSimulator to run the Hypergrid functionality | 26 | ; Set this to true if you want Hypergrid functionality |
27 | hypergrid = false | 27 | hypergrid = false |
28 | 28 | ||
29 | startup_console_commands_file = "startup_commands.txt" | 29 | startup_console_commands_file = "startup_commands.txt" |
@@ -39,7 +39,7 @@ | |||
39 | ; Enables EventQueueGet Service. | 39 | ; Enables EventQueueGet Service. |
40 | EventQueue = true | 40 | EventQueue = true |
41 | 41 | ||
42 | ; Set this to the DLL containig the client stack to use. | 42 | ; Set this to the DLL containing the client stack to use. |
43 | clientstack_plugin="OpenSim.Region.ClientStack.LindenUDP.dll" | 43 | clientstack_plugin="OpenSim.Region.ClientStack.LindenUDP.dll" |
44 | 44 | ||
45 | ; ## | 45 | ; ## |
@@ -60,7 +60,7 @@ | |||
60 | ; except that everything is also enclosed in a <Regions> tag. | 60 | ; except that everything is also enclosed in a <Regions> tag. |
61 | ; regionload_webserver_url = "http://example.com/regions.xml"; | 61 | ; regionload_webserver_url = "http://example.com/regions.xml"; |
62 | 62 | ||
63 | ; Draw objects on maptile. This step might take a long time if you've got a huge amount of | 63 | ; Draw objects on maptile. This step might take a long time if you've got a large number of |
64 | ; objects, so you can turn it off here if you'd like. | 64 | ; objects, so you can turn it off here if you'd like. |
65 | DrawPrimOnMapTile = true | 65 | DrawPrimOnMapTile = true |
66 | ; Use terrain texture for maptiles if true, use shaded green if false | 66 | ; Use terrain texture for maptiles if true, use shaded green if false |
@@ -109,11 +109,11 @@ | |||
109 | ; If you're running a region server connecting to a grid, you probably want grid mode, since this will use the | 109 | ; If you're running a region server connecting to a grid, you probably want grid mode, since this will use the |
110 | ; grid asset server. If you select local in grid mode, then you will use a database as specified in asset_plugin to store assets | 110 | ; grid asset server. If you select local in grid mode, then you will use a database as specified in asset_plugin to store assets |
111 | ; locally. This will mean you won't be able to take items using your assets to other people's regions. | 111 | ; locally. This will mean you won't be able to take items using your assets to other people's regions. |
112 | 112 | ||
113 | ; Persistence of changed objects happens during regular sweeps. The following control that behaviour to | 113 | ; Persistence of changed objects happens during regular sweeps. The following control that behaviour to |
114 | ; prevent frequently changing objects from heavily loading the region data store. | 114 | ; prevent frequently changing objects from heavily loading the region data store. |
115 | ; If both of these values are set to zero then persistence of all changed objects will happen on every sweep. | 115 | ; If both of these values are set to zero then persistence of all changed objects will happen on every sweep. |
116 | ; | 116 | ; |
117 | ; Objects will be considered for persistance in the next sweep when they have not changed for this number of seconds | 117 | ; Objects will be considered for persistance in the next sweep when they have not changed for this number of seconds |
118 | MinimumTimeBeforePersistenceConsidered = 60 | 118 | MinimumTimeBeforePersistenceConsidered = 60 |
119 | ; Objects will always be considered for persistance in the next sweep if the first change occurred this number of seconds ago | 119 | ; Objects will always be considered for persistance in the next sweep if the first change occurred this number of seconds ago |
@@ -129,11 +129,11 @@ | |||
129 | ; if you would like to allow prims to be physical and move by physics with the physical checkbox in the client set this to true. | 129 | ; if you would like to allow prims to be physical and move by physics with the physical checkbox in the client set this to true. |
130 | physical_prim = true | 130 | physical_prim = true |
131 | 131 | ||
132 | ; Select a mesher here. ZeroMesher is save and fast. | 132 | ; Select a mesher here. ZeroMesher is safe and fast. |
133 | ; ZeroMesher also means that the physics engine models the physics of prims | 133 | ; ZeroMesher also means that the physics engine models the physics of prims |
134 | ; sticking to the basic shapes the engine does support. Usually this is only a box. | 134 | ; sticking to the basic shapes the engine does support. Usually this is only a box. |
135 | ; Meshmerizer gives a better handling of complex prims by using triangle meshes. | 135 | ; Meshmerizer gives a better handling of complex prims by using triangle meshes. |
136 | ; Note, that only ODE physics currently deals with meshed prims in a satisfactoring way | 136 | ; Note that only ODE physics currently deals with meshed prims in a satisfactory way |
137 | ; | 137 | ; |
138 | meshing = ZeroMesher | 138 | meshing = ZeroMesher |
139 | ;meshing = Meshmerizer | 139 | ;meshing = Meshmerizer |
@@ -165,20 +165,20 @@ | |||
165 | 165 | ||
166 | ; Control user types that are allowed to create new scripts | 166 | ; Control user types that are allowed to create new scripts |
167 | ; Only enforced if serviceside_object_permissions is true | 167 | ; Only enforced if serviceside_object_permissions is true |
168 | ; | 168 | ; |
169 | ; Current possible values are | 169 | ; Current possible values are |
170 | ; all - anyone can create scripts (subject to normal permissions) | 170 | ; all - anyone can create scripts (subject to normal permissions) |
171 | ; gods - only administrators can create scripts (as long as allow_grid_gods is true) | 171 | ; gods - only administrators can create scripts (as long as allow_grid_gods is true) |
172 | ; Default value is all | 172 | ; Default value is all |
173 | ; allowed_script_creators = all | 173 | ; allowed_script_creators = all |
174 | 174 | ||
175 | ; Control user types that are allowed to edit (save) scripts | 175 | ; Control user types that are allowed to edit (save) scripts |
176 | ; Only enforced if serviceside_object_permissions is true | 176 | ; Only enforced if serviceside_object_permissions is true |
177 | ; | 177 | ; |
178 | ; Current possible values are | 178 | ; Current possible values are |
179 | ; all - anyone can edit scripts (subject to normal permissions) | 179 | ; all - anyone can edit scripts (subject to normal permissions) |
180 | ; gods - only administrators can edit scripts (as long as allow_grid_gods is true) | 180 | ; gods - only administrators can edit scripts (as long as allow_grid_gods is true) |
181 | ; Default value is all | 181 | ; Default value is all |
182 | ; allowed_script_editors = all | 182 | ; allowed_script_editors = all |
183 | 183 | ||
184 | ; ## | 184 | ; ## |
@@ -220,9 +220,9 @@ | |||
220 | ; FLYSLOW, and the "always run" state will be the regular fly. | 220 | ; FLYSLOW, and the "always run" state will be the regular fly. |
221 | 221 | ||
222 | enableflyslow = false | 222 | enableflyslow = false |
223 | 223 | ||
224 | ; PreJump is an additional animation state, but it probably | 224 | ; PreJump is an additional animation state, but it probably |
225 | ; won't look right until the physics engine supports it | 225 | ; won't look right until the physics engine supports it |
226 | ; (i.e delays takeoff for a moment) | 226 | ; (i.e delays takeoff for a moment) |
227 | 227 | ||
228 | ; This is commented so it will come on automatically once it's | 228 | ; This is commented so it will come on automatically once it's |
@@ -290,7 +290,7 @@ | |||
290 | ; Specifies the location and filename of the default inventory library control file. The path can be relative or absolute | 290 | ; Specifies the location and filename of the default inventory library control file. The path can be relative or absolute |
291 | ; Default is ./inventory/Libraries.xml | 291 | ; Default is ./inventory/Libraries.xml |
292 | LibrariesXMLFile="./inventory/Libraries.xml" | 292 | LibrariesXMLFile="./inventory/Libraries.xml" |
293 | 293 | ||
294 | [Network] | 294 | [Network] |
295 | http_listener_port = 9000 | 295 | http_listener_port = 9000 |
296 | default_location_x = 1000 | 296 | default_location_x = 1000 |
@@ -337,10 +337,10 @@ | |||
337 | 337 | ||
338 | [ClientStack.LindenUDP] | 338 | [ClientStack.LindenUDP] |
339 | ; This is the multiplier applied to all client throttles for outgoing UDP network data | 339 | ; This is the multiplier applied to all client throttles for outgoing UDP network data |
340 | ; If it is set to 1, then we obey the throttle settings as given to us by the client. If it is set to 3, for example, then we | 340 | ; If it is set to 1, then we obey the throttle settings as given to us by the client. If it is set to 3, for example, then we |
341 | ; multiply that setting by 3 (e.g. if the client gives us a setting of 250 kilobits per second then we | 341 | ; multiply that setting by 3 (e.g. if the client gives us a setting of 250 kilobits per second then we |
342 | ; will actually push down data at a maximum rate of 750 kilobits per second). | 342 | ; will actually push down data at a maximum rate of 750 kilobits per second). |
343 | ; | 343 | ; |
344 | ; In principle, setting a multiplier greater than 1 will allow data to be pushed down to a client much faster | 344 | ; In principle, setting a multiplier greater than 1 will allow data to be pushed down to a client much faster |
345 | ; than its UI allows the setting to go. This may be okay in some situations, such as standalone OpenSim | 345 | ; than its UI allows the setting to go. This may be okay in some situations, such as standalone OpenSim |
346 | ; applications on a LAN. However, the greater the multipler, the higher the risk of packet drop, resulting | 346 | ; applications on a LAN. However, the greater the multipler, the higher the risk of packet drop, resulting |
@@ -350,11 +350,11 @@ | |||
350 | ; Currently this setting is 2 by default because we currently send much more texture data than is strictly | 350 | ; Currently this setting is 2 by default because we currently send much more texture data than is strictly |
351 | ; necessary. A setting of 1 could result in slow texture transfer. This will be fixed when the transfer | 351 | ; necessary. A setting of 1 could result in slow texture transfer. This will be fixed when the transfer |
352 | ; of textures at different levels of quality is improved. | 352 | ; of textures at different levels of quality is improved. |
353 | ; | 353 | ; |
354 | ; Pre r7113, this setting was not exposed but was effectively 8. You may want to try this if you encounter | 354 | ; Pre r7113, this setting was not exposed but was effectively 8. You may want to try this if you encounter |
355 | ; unexpected difficulties | 355 | ; unexpected difficulties |
356 | client_throttle_multiplier = 2; | 356 | client_throttle_multiplier = 2; |
357 | 357 | ||
358 | ; the client socket receive buffer size determines how many | 358 | ; the client socket receive buffer size determines how many |
359 | ; incoming requests we can process; the default on .NET is 8192 | 359 | ; incoming requests we can process; the default on .NET is 8192 |
360 | ; which is about 2 4k-sized UDP datagrams. On mono this is | 360 | ; which is about 2 4k-sized UDP datagrams. On mono this is |
@@ -429,9 +429,8 @@ | |||
429 | ; surface layer around geometries other geometries can sink into before generating a contact | 429 | ; surface layer around geometries other geometries can sink into before generating a contact |
430 | world_contact_surface_layer = 0.001 | 430 | world_contact_surface_layer = 0.001 |
431 | 431 | ||
432 | ; Filtering Collisions helps keep things stable physics wise, but sometimes | 432 | ; Filtering collisions helps keep things stable physics wise, but sometimes |
433 | ; it can be over zealous. If you notice bouncing, chances are it's being just | 433 | ; it can be overzealous. If you notice bouncing, chances are it's that. |
434 | ; that | ||
435 | filter_collisions = false | 434 | filter_collisions = false |
436 | 435 | ||
437 | ; Non Moving Terrain Contact (avatar isn't moving) | 436 | ; Non Moving Terrain Contact (avatar isn't moving) |
@@ -551,15 +550,15 @@ | |||
551 | ; ## Joint support | 550 | ; ## Joint support |
552 | ; ## | 551 | ; ## |
553 | 552 | ||
554 | ; if you would like physics joints to be enabled through a special naming convention in the client, set this to true. | 553 | ; if you would like physics joints to be enabled through a special naming convention in the client, set this to true. |
555 | ; (see NINJA Physics documentation, http://opensimulator.org/wiki/NINJA_Physics) | 554 | ; (see NINJA Physics documentation, http://opensimulator.org/wiki/NINJA_Physics) |
556 | ; default is false | 555 | ; default is false |
557 | ;use_NINJA_physics_joints = true | 556 | ;use_NINJA_physics_joints = true |
558 | 557 | ||
559 | ; ## | 558 | ; ## |
560 | ; ## additional meshing options | 559 | ; ## additional meshing options |
561 | ; ## | 560 | ; ## |
562 | 561 | ||
563 | ; physical collision mesh proxies are normally created for complex prim shapes, and collisions for simple boxes and | 562 | ; physical collision mesh proxies are normally created for complex prim shapes, and collisions for simple boxes and |
564 | ; spheres are computed algorithmically. If you would rather have mesh proxies for simple prims, you can set this to | 563 | ; spheres are computed algorithmically. If you would rather have mesh proxies for simple prims, you can set this to |
565 | ; true. Note that this will increase memory usage and region startup time. Default is false. | 564 | ; true. Note that this will increase memory usage and region startup time. Default is false. |
@@ -602,10 +601,10 @@ | |||
602 | ;region_limit = 0 | 601 | ;region_limit = 0 |
603 | 602 | ||
604 | ; enable only those methods you deem to be appropriate using a | delimited whitelist | 603 | ; enable only those methods you deem to be appropriate using a | delimited whitelist |
605 | ; for example, enabled_methods = admin_broadcast|admin_region_query|admin_save_oar|admin_save_xml | 604 | ; for example, enabled_methods = admin_broadcast|admin_region_query|admin_save_oar|admin_save_xml |
606 | ; if this parameter is not specified but enabled = true, all methods will be available | 605 | ; if this parameter is not specified but enabled = true, all methods will be available |
607 | enabled_methods = all | 606 | enabled_methods = all |
608 | 607 | ||
609 | 608 | ||
610 | [RestPlugins] | 609 | [RestPlugins] |
611 | ; Change this to true to enable REST Plugins. This must be true if you wish to use | 610 | ; Change this to true to enable REST Plugins. This must be true if you wish to use |
@@ -739,7 +738,7 @@ | |||
739 | ; Density of cloud cover 0.0 to 1.0 Defult 0.5 | 738 | ; Density of cloud cover 0.0 to 1.0 Defult 0.5 |
740 | density = 0.5 | 739 | density = 0.5 |
741 | 740 | ||
742 | ; update interval for the cloud cover data returned by llCloud(). | 741 | ; update interval for the cloud cover data returned by llCloud(). |
743 | ; default is 1000 | 742 | ; default is 1000 |
744 | cloud_update_rate = 1000 | 743 | cloud_update_rate = 1000 |
745 | 744 | ||
@@ -914,7 +913,7 @@ | |||
914 | ; This will be created in bin, if it doesn't exist already. It will hold the data snapshots. | 913 | ; This will be created in bin, if it doesn't exist already. It will hold the data snapshots. |
915 | snapshot_cache_directory = "DataSnapshot" | 914 | snapshot_cache_directory = "DataSnapshot" |
916 | 915 | ||
917 | ; This semicolon-separated string serves to notify specific data services about the existence | 916 | ; This semicolon-separated string serves to notify specific data services about the existence |
918 | ; of this sim. Uncomment if you want to index your data with this and/or other search providers. | 917 | ; of this sim. Uncomment if you want to index your data with this and/or other search providers. |
919 | ;data_services="http://metaverseink.com/cgi-bin/register.py" | 918 | ;data_services="http://metaverseink.com/cgi-bin/register.py" |
920 | 919 | ||
@@ -997,7 +996,7 @@ | |||
997 | DefaultCompileLanguage = lsl | 996 | DefaultCompileLanguage = lsl |
998 | 997 | ||
999 | ; List of allowed languages (lsl,vb,js,cs) | 998 | ; List of allowed languages (lsl,vb,js,cs) |
1000 | ; AllowedCompilers=lsl,cs,js,vb. | 999 | ; AllowedCompilers=lsl,cs,js,vb. |
1001 | ; *warning*, non lsl languages have access to static methods such as System.IO.File. Enable at your own risk. | 1000 | ; *warning*, non lsl languages have access to static methods such as System.IO.File. Enable at your own risk. |
1002 | AllowedCompilers=lsl | 1001 | AllowedCompilers=lsl |
1003 | 1002 | ||
@@ -1050,13 +1049,13 @@ | |||
1050 | ; Comma separated list of UUIDS allows the function for that list of UUIDS | 1049 | ; Comma separated list of UUIDS allows the function for that list of UUIDS |
1051 | ; Allow_osSetRegionWaterHeight = 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb | 1050 | ; Allow_osSetRegionWaterHeight = 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb |
1052 | 1051 | ||
1053 | ; Allow for llCreateLink and llBreakLink to work without asking for permission | 1052 | ; Allow for llCreateLink and llBreakLink to work without asking for permission |
1054 | ; only enable this in a trusted environment otherwise you may be subject to hijacking | 1053 | ; only enable this in a trusted environment otherwise you may be subject to hijacking |
1055 | ; AutomaticLinkPermission = false | 1054 | ; AutomaticLinkPermission = false |
1056 | 1055 | ||
1057 | ; Disable underground movement of prims (default true); set to | 1056 | ; Disable underground movement of prims (default true); set to |
1058 | ; false to allow script controlled underground positioning of | 1057 | ; false to allow script controlled underground positioning of |
1059 | ; prims | 1058 | ; prims |
1060 | ; DisableUndergroundMovement = true | 1059 | ; DisableUndergroundMovement = true |
1061 | 1060 | ||
1062 | 1061 | ||
@@ -1164,7 +1163,7 @@ | |||
1164 | [MRM] | 1163 | [MRM] |
1165 | ; Enables the Mini Region Modules Script Engine. WARNING: SECURITY RISK. | 1164 | ; Enables the Mini Region Modules Script Engine. WARNING: SECURITY RISK. |
1166 | ; default is false | 1165 | ; default is false |
1167 | Enabled = false | 1166 | Enabled = false |
1168 | 1167 | ||
1169 | 1168 | ||
1170 | [Hypergrid] | 1169 | [Hypergrid] |
@@ -1176,7 +1175,7 @@ | |||
1176 | ; The VivoxVoice module will allow you to provide voice on your | 1175 | ; The VivoxVoice module will allow you to provide voice on your |
1177 | ; region(s). It uses the same voice technology as the LL grid and | 1176 | ; region(s). It uses the same voice technology as the LL grid and |
1178 | ; works with recent LL clients (we have tested 1.22.9.110075, so | 1177 | ; works with recent LL clients (we have tested 1.22.9.110075, so |
1179 | ; anything later ought to be fine as well). | 1178 | ; anything later ought to be fine as well). |
1180 | ; | 1179 | ; |
1181 | ; For this to work you need to obtain an admin account from Vivox | 1180 | ; For this to work you need to obtain an admin account from Vivox |
1182 | ; that allows you to create voice accounts and region channels. | 1181 | ; that allows you to create voice accounts and region channels. |
@@ -1234,14 +1233,14 @@ | |||
1234 | ; In order for this to work you need a functioning freeswitch pbx set | 1233 | ; In order for this to work you need a functioning freeswitch pbx set |
1235 | ; up. Configuration for that will be posted in the wiki soon. | 1234 | ; up. Configuration for that will be posted in the wiki soon. |
1236 | enabled = false | 1235 | enabled = false |
1237 | ;FreeSwitch server is going to contact us and ask us all | 1236 | ;FreeSwitch server is going to contact us and ask us all |
1238 | ;sorts of things. | 1237 | ;sorts of things. |
1239 | freeswitch_server_user = freeswitch | 1238 | freeswitch_server_user = freeswitch |
1240 | freeswitch_server_pass = password | 1239 | freeswitch_server_pass = password |
1241 | freeswitch_api_prefix = /api | 1240 | freeswitch_api_prefix = /api |
1242 | ; this is the IP of your sim | 1241 | ; this is the IP of your sim |
1243 | freeswitch_service_server = ip.address.of.your.sim | 1242 | freeswitch_service_server = ip.address.of.your.sim |
1244 | ;freeswitch_service_port = 80 | 1243 | ;freeswitch_service_port = 80 |
1245 | ; this should be the same port the region listens on | 1244 | ; this should be the same port the region listens on |
1246 | freeswitch_service_port = 9000 | 1245 | freeswitch_service_port = 9000 |
1247 | freeswitch_realm = ip.address.of.freeswitch.server | 1246 | freeswitch_realm = ip.address.of.freeswitch.server |
@@ -1251,15 +1250,15 @@ | |||
1251 | freeswitch_echo_server = ip.address.of.freeswitch.server | 1250 | freeswitch_echo_server = ip.address.of.freeswitch.server |
1252 | freeswitch_echo_port = 50505 | 1251 | freeswitch_echo_port = 50505 |
1253 | freeswitch_well_known_ip = ip.address.of.freeswitch.server | 1252 | freeswitch_well_known_ip = ip.address.of.freeswitch.server |
1254 | 1253 | ||
1255 | ;Type the address of your http server here, hostname is allowed. This is provided so you can specify a hostname | 1254 | ;Type the address of your http server here, hostname is allowed. This is provided so you can specify a hostname |
1256 | ;This is used by client for account verification. By default, it's the same as the freeswitch service server. | 1255 | ;This is used by client for account verification. By default, it's the same as the freeswitch service server. |
1257 | 1256 | ||
1258 | ;opensim_well_known_http_address = Address_Of_your_SIM_HTTP_Server_Hostname_Allowed | 1257 | ;opensim_well_known_http_address = Address_Of_your_SIM_HTTP_Server_Hostname_Allowed |
1259 | 1258 | ||
1260 | freeswitch_default_timeout = 5000 | 1259 | freeswitch_default_timeout = 5000 |
1261 | freeswitch_subscribe_retry = 120 | 1260 | freeswitch_subscribe_retry = 120 |
1262 | ; freeswitch_password_reset_url = | 1261 | ; freeswitch_password_reset_url = |
1263 | 1262 | ||
1264 | 1263 | ||
1265 | [Groups] | 1264 | [Groups] |
@@ -1268,19 +1267,19 @@ | |||
1268 | ; This is the current groups stub in Region.CoreModules.Avatar.Groups | 1267 | ; This is the current groups stub in Region.CoreModules.Avatar.Groups |
1269 | Module = Default | 1268 | Module = Default |
1270 | 1269 | ||
1271 | ; The PHP code for the server is available from the Flotsam project for you to deploy | 1270 | ; The PHP code for the server is available from the Flotsam project for you to deploy |
1272 | ; to your own server. The Flotsam project is located at http://code.google.com/p/flotsam/ | 1271 | ; to your own server. The Flotsam project is located at http://code.google.com/p/flotsam/ |
1273 | ; | 1272 | ; |
1274 | ;Module = GroupsModule | 1273 | ;Module = GroupsModule |
1275 | 1274 | ||
1276 | ; Enable Group Notices | 1275 | ; Enable Group Notices |
1277 | ;NoticesEnabled = true | 1276 | ;NoticesEnabled = true |
1278 | 1277 | ||
1279 | ; This makes the Groups modules very chatty on the console. | 1278 | ; This makes the Groups modules very chatty on the console. |
1280 | ;DebugEnabled = true | 1279 | ;DebugEnabled = true |
1281 | 1280 | ||
1282 | ; Specify which messaging module to use for groups messaging and if it's enabled | 1281 | ; Specify which messaging module to use for groups messaging and if it's enabled |
1283 | ;MessagingModule = GroupsMessagingModule | 1282 | ;MessagingModule = GroupsMessagingModule |
1284 | ;MessagingEnabled = true | 1283 | ;MessagingEnabled = true |
1285 | 1284 | ||
1286 | ; Service connector to Groups Service [Select One] | 1285 | ; Service connector to Groups Service [Select One] |
@@ -1290,9 +1289,9 @@ | |||
1290 | ;XmlRpcServiceReadKey = 1234 | 1289 | ;XmlRpcServiceReadKey = 1234 |
1291 | ;XmlRpcServiceWriteKey = 1234 | 1290 | ;XmlRpcServiceWriteKey = 1234 |
1292 | 1291 | ||
1293 | ; Disables HTTP Keep-Alive for XmlRpcGroupsServicesConnector HTTP Requests, | 1292 | ; Disables HTTP Keep-Alive for XmlRpcGroupsServicesConnector HTTP Requests, |
1294 | ; this is a work around fora problem discovered on some Windows based region servers. | 1293 | ; this is a work around fora problem discovered on some Windows based region servers. |
1295 | ; Only disable keep alive if you see a large number (dozens) of the following Exceptions: | 1294 | ; Only disable keep alive if you see a large number (dozens) of the following Exceptions: |
1296 | ; System.Net.WebException: The request was aborted: The request was canceled. | 1295 | ; System.Net.WebException: The request was aborted: The request was canceled. |
1297 | ; | 1296 | ; |
1298 | ; XmlRpcDisableKeepAlive = false | 1297 | ; XmlRpcDisableKeepAlive = false |
@@ -1321,7 +1320,7 @@ | |||
1321 | ;FullUpdateRate=14 | 1320 | ;FullUpdateRate=14 |
1322 | 1321 | ||
1323 | ;PacketMTU = 1400 | 1322 | ;PacketMTU = 1400 |
1324 | 1323 | ||
1325 | ; TextureUpdateRate (mS) determines how many times per second | 1324 | ; TextureUpdateRate (mS) determines how many times per second |
1326 | ; texture send processing will occur. The default is 100mS. | 1325 | ; texture send processing will occur. The default is 100mS. |
1327 | ; | 1326 | ; |
@@ -1371,7 +1370,6 @@ | |||
1371 | ; to customize your data | 1370 | ; to customize your data |
1372 | 1371 | ||
1373 | 1372 | ||
1374 | |||
1375 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 1373 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1376 | ;; The below pulls in optional module config files | 1374 | ;; The below pulls in optional module config files |
1377 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 1375 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |