aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-05-25 19:21:21 +0000
committerCharles Krinke2008-05-25 19:21:21 +0000
commit36b8196f7a1d1a2350649d018bdd344e44e35461 (patch)
tree6497b39d8f63d924038cda835e5ac5681b495120 /OpenSim/Region/Environment/Scenes/InnerScene.cs
parentThank you kindly, Grumly57 for a patch to improve (diff)
downloadopensim-SC-36b8196f7a1d1a2350649d018bdd344e44e35461.zip
opensim-SC-36b8196f7a1d1a2350649d018bdd344e44e35461.tar.gz
opensim-SC-36b8196f7a1d1a2350649d018bdd344e44e35461.tar.bz2
opensim-SC-36b8196f7a1d1a2350649d018bdd344e44e35461.tar.xz
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.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs7
1 files changed, 7 insertions, 0 deletions
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
1417 Entities.Add(copy.UUID, copy); 1417 Entities.Add(copy.UUID, copy);
1418 } 1418 }
1419 1419
1420 // Since we copy from a source group that is in selected
1421 // state, but the copy is shown deselected in the viewer,
1422 // We need to clear the selection flag here, else that
1423 // prim never gets persisted at all. The client doesn't
1424 // think it's selected, so it will never send a deselect...
1425 copy.IsSelected=false;
1426
1420 m_numPrim++; 1427 m_numPrim++;
1421 1428
1422 copy.StartScripts(); 1429 copy.StartScripts();