aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2012-01-10 20:34:43 +0000
committerMelanie2012-01-10 20:34:43 +0000
commita4c2e7f5997c74ae0006ff573f7576bfc6c1aa82 (patch)
treead7e9b44924581a13f04b6292e2be52e00bd7673
parentMerge branch 'master' into careminster (diff)
parentRemove DEBUG option (diff)
downloadopensim-SC_OLD-a4c2e7f5997c74ae0006ff573f7576bfc6c1aa82.zip
opensim-SC_OLD-a4c2e7f5997c74ae0006ff573f7576bfc6c1aa82.tar.gz
opensim-SC_OLD-a4c2e7f5997c74ae0006ff573f7576bfc6c1aa82.tar.bz2
opensim-SC_OLD-a4c2e7f5997c74ae0006ff573f7576bfc6c1aa82.tar.xz
Merge branch 'master' into careminster
-rw-r--r--OpenSim/Region/Application/OpenSim.cs2
-rw-r--r--OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs6
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs11
-rwxr-xr-xbin/OpenSim.ini.example5
4 files changed, 10 insertions, 14 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index adf653a..515567d 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -253,7 +253,7 @@ namespace OpenSim
253 m_console.Commands.AddCommand("region", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug); 253 m_console.Commands.AddCommand("region", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug);
254 254
255 m_console.Commands.AddCommand("region", false, "debug scene", 255 m_console.Commands.AddCommand("region", false, "debug scene",
256 "debug scene <cripting> <collisions> <physics>", 256 "debug scene <scripting> <collisions> <physics>",
257 "Turn on scene debugging", Debug); 257 "Turn on scene debugging", Debug);
258 258
259 m_console.Commands.AddCommand("region", false, "change region", 259 m_console.Commands.AddCommand("region", false, "change region",
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
index d68d28c..8d503bd 100644
--- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
@@ -149,7 +149,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
149 // Process the baked texture array 149 // Process the baked texture array
150 if (textureEntry != null) 150 if (textureEntry != null)
151 { 151 {
152 m_log.InfoFormat("[AVFACTORY]: received texture update for {0}", sp.UUID); 152 m_log.InfoFormat("[AVFACTORY]: Received texture update for {0} {1}", sp.Name, sp.UUID);
153 153
154// WriteBakedTexturesReport(sp, m_log.DebugFormat); 154// WriteBakedTexturesReport(sp, m_log.DebugFormat);
155 155
@@ -315,7 +315,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
315 return false; 315 return false;
316 } 316 }
317 317
318 m_log.DebugFormat("[AVFACTORY]: Completed texture check for {0}", sp.UUID); 318 m_log.DebugFormat("[AVFACTORY]: Completed texture check for {0} {1}", sp.Name, sp.UUID);
319 319
320 // If we only found default textures, then the appearance is not cached 320 // If we only found default textures, then the appearance is not cached
321 return (defonly ? false : true); 321 return (defonly ? false : true);
@@ -626,4 +626,4 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
626 outputAction("{0} baked appearance texture is {1}", sp.Name, bakedTextureValid ? "OK" : "corrupt"); 626 outputAction("{0} baked appearance texture is {1}", sp.Name, bakedTextureValid ? "OK" : "corrupt");
627 } 627 }
628 } 628 }
629} 629} \ No newline at end of file
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 9f9536a..94989de 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3860,17 +3860,18 @@ namespace OpenSim.Region.Framework.Scenes
3860 (TeleportFlags.ViaLogin | TeleportFlags.ViaRegionID) || 3860 (TeleportFlags.ViaLogin | TeleportFlags.ViaRegionID) ||
3861 (m_teleportFlags & TeleportFlags.ViaLandmark) != 0 || 3861 (m_teleportFlags & TeleportFlags.ViaLandmark) != 0 ||
3862 (m_teleportFlags & TeleportFlags.ViaLocation) != 0 || 3862 (m_teleportFlags & TeleportFlags.ViaLocation) != 0 ||
3863 ((m_teleportFlags & (TeleportFlags)Constants.TeleportFlags.ViaHGLogin) == (TeleportFlags)Constants.TeleportFlags.ViaHGLogin)) 3863 (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0)
3864 { 3864 {
3865 // Don't restrict gods, estate managers, or land owners to 3865 // Don't restrict gods, estate managers, or land owners to
3866 // the TP point. This behaviour mimics agni. 3866 // the TP point. This behaviour mimics agni.
3867 if (land.LandData.LandingType == (byte)LandingType.LandingPoint && 3867 if (land.LandData.LandingType == (byte)LandingType.LandingPoint &&
3868 land.LandData.UserLocation != Vector3.Zero && 3868 land.LandData.UserLocation != Vector3.Zero &&
3869 GodLevel < 200 && 3869 GodLevel < 200 &&
3870 ((land.LandData.OwnerID != m_uuid && 3870 ((land.LandData.OwnerID != m_uuid &&
3871 (!m_scene.Permissions.IsGod(m_uuid)) && 3871 !m_scene.Permissions.IsGod(m_uuid) &&
3872 (!m_scene.RegionInfo.EstateSettings.IsEstateManager(m_uuid))) || (m_teleportFlags & TeleportFlags.ViaLocation) != 0) || 3872 !m_scene.RegionInfo.EstateSettings.IsEstateManager(m_uuid)) ||
3873 ((m_teleportFlags & (TeleportFlags)Constants.TeleportFlags.ViaHGLogin) == (TeleportFlags)Constants.TeleportFlags.ViaHGLogin)) 3873 (m_teleportFlags & TeleportFlags.ViaLocation) != 0 ||
3874 (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0))
3874 { 3875 {
3875 pos = land.LandData.UserLocation; 3876 pos = land.LandData.UserLocation;
3876 } 3877 }
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index 01c64c5..97102a2 100755
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -37,11 +37,6 @@
37 37
38[Startup] 38[Startup]
39 39
40 ;# {DEBUG} {} {Turn on debugging methods. Temporary for debugging teleport routing. We can remove it when that is done, or leave it if it would prove to be useful for other things.} {true false} false
41 ;; Turn on debugging methods where available.
42 ;; from the selected region_info_source.
43 ; DEBUG = false
44
45 ;# {ConsolePrompt} {} {ConsolePrompt} {} "Region (\R) " 40 ;# {ConsolePrompt} {} {ConsolePrompt} {} "Region (\R) "
46 ;; Console prompt 41 ;; Console prompt
47 ;; Certain special characters can be used to customize the prompt 42 ;; Certain special characters can be used to customize the prompt