diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 8 |
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; |