From 01de4bbfbdca14adfa2f86de0f672b8c7cfb92e9 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 26 Dec 2007 20:21:06 +0000 Subject: 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. --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs') 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 { return part.GetInventoryFileName(remoteClient, localID); } + else + { + MainLog.Instance.Warn( + "SCENE", + "Couldn't find part {0} in object group {1} ({2}) to retreive prim inventory", + localID, LocalId, UUID); + } return false; } -- cgit v1.1