diff options
author | Justin Clarke Casey | 2007-12-26 20:21:06 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2007-12-26 20:21:06 +0000 |
commit | 01de4bbfbdca14adfa2f86de0f672b8c7cfb92e9 (patch) | |
tree | ea79543e037a4d4642408db8f1ff57c1d6999cf2 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |
parent | * This update includes a wide range of changes to the ODEPlugin for avatar mo... (diff) | |
download | opensim-SC_OLD-01de4bbfbdca14adfa2f86de0f672b8c7cfb92e9.zip opensim-SC_OLD-01de4bbfbdca14adfa2f86de0f672b8c7cfb92e9.tar.gz opensim-SC_OLD-01de4bbfbdca14adfa2f86de0f672b8c7cfb92e9.tar.bz2 opensim-SC_OLD-01de4bbfbdca14adfa2f86de0f672b8c7cfb92e9.tar.xz |
If a prim is persisted in the region, scripts dragged into its inventory after a server restart would not appear (though the script they contain would still be invoked). This
change fixes that problem.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 263ac27..20d596a 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1152,6 +1152,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
1152 | { | 1152 | { |
1153 | return part.GetInventoryFileName(remoteClient, localID); | 1153 | return part.GetInventoryFileName(remoteClient, localID); |
1154 | } | 1154 | } |
1155 | else | ||
1156 | { | ||
1157 | MainLog.Instance.Warn( | ||
1158 | "SCENE", | ||
1159 | "Couldn't find part {0} in object group {1} ({2}) to retreive prim inventory", | ||
1160 | localID, LocalId, UUID); | ||
1161 | } | ||
1155 | return false; | 1162 | return false; |
1156 | } | 1163 | } |
1157 | 1164 | ||