From 6ef4f1bdae63d156f2dfad9a440ba52a9b84dc85 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Thu, 3 Apr 2008 13:33:46 +0000
Subject: * Resolve mantis 849 * Scripts in prims within linksets can now be
properly edited using the 'edit linked parts' linden ui option
---
OpenSim/Region/Environment/Scenes/InnerScene.cs | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index c009593..9a720d9 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -1081,11 +1081,12 @@ namespace OpenSim.Region.Environment.Scenes
}
///
- ///
+ /// Initial method invoked when we receive a link objects request from the client.
///
+ ///
///
///
- public void LinkObjects(uint parentPrim, List childPrims)
+ public void LinkObjects(IClientAPI client, uint parentPrim, List childPrims)
{
List EntityList = GetEntities();
@@ -1124,6 +1125,10 @@ namespace OpenSim.Region.Environment.Scenes
{
parenPrim.LinkToGroup(sceneObj);
}
+
+ // We need to explicitly resend the newly link prim's object properties since no other actions
+ // occur on link to invoke this elsewhere (such as object selection)
+ parenPrim.GetProperties(client);
}
///
--
cgit v1.1