aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-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
3 files changed, 10 insertions, 9 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 }