From 36b8196f7a1d1a2350649d018bdd344e44e35461 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sun, 25 May 2008 19:21:21 +0000 Subject: Thank you kindly, Tiffany for a patch that helps: Drag copy a prim and the prim that is moved, persists. The prim that is created does not survive a restart. --- OpenSim/Region/Environment/Scenes/InnerScene.cs | 7 +++++++ 1 file changed, 7 insertions(+) (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 65012ad..84de71f 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs @@ -1417,6 +1417,13 @@ namespace OpenSim.Region.Environment.Scenes Entities.Add(copy.UUID, copy); } + // Since we copy from a source group that is in selected + // state, but the copy is shown deselected in the viewer, + // We need to clear the selection flag here, else that + // prim never gets persisted at all. The client doesn't + // think it's selected, so it will never send a deselect... + copy.IsSelected=false; + m_numPrim++; copy.StartScripts(); -- cgit v1.1