aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-03-19 19:25:10 +0000
committerJustin Clarke Casey2008-03-19 19:25:10 +0000
commit2b78c40d8914bc8a5ec6430768e783bcd234b2f4 (patch)
treef22eef2253e8c794eede4eef72598a0693c78e03 /OpenSim/Region/Environment/Scenes/InnerScene.cs
parent* Fix for if 782: Locked prims may still be moved by click+drag. (diff)
downloadopensim-SC_OLD-2b78c40d8914bc8a5ec6430768e783bcd234b2f4.zip
opensim-SC_OLD-2b78c40d8914bc8a5ec6430768e783bcd234b2f4.tar.gz
opensim-SC_OLD-2b78c40d8914bc8a5ec6430768e783bcd234b2f4.tar.bz2
opensim-SC_OLD-2b78c40d8914bc8a5ec6430768e783bcd234b2f4.tar.xz
* Adding log debugging messages and making others more explicit
* This reveals that the problem with saving scripts in a non-home region in multi-region configurations is due to a CAPS setup issue * For some reason the client is still using the CAPS on the region it just came from, causing the ScenePresence lookup to fail (since the presence is now, correctly, a child agent).
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index f37d28a..1187c37 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -724,9 +724,15 @@ namespace OpenSim.Region.Environment.Scenes
724 { 724 {
725 if (!presence.IsChildAgent) 725 if (!presence.IsChildAgent)
726 { 726 {
727 avatar = presence; 727 avatar = presence;
728 return true; 728 return true;
729 } 729 }
730 else
731 {
732 m_log.WarnFormat(
733 "[INNER SCENE]: Requested avatar {0} could not be found in scene {1} since it is only registered as a child agent!",
734 avatarId, m_parentScene.RegionInfo.RegionName);
735 }
730 } 736 }
731 737
732 avatar = null; 738 avatar = null;