Remove the gratuitious prim deletes caused by linking. This makes linking

a bit faster.
0.6.0-stable
Melanie Thielker 2008-10-22 03:32:45 +00:00
parent dfc12d591c
commit f9b3ef32c6
1 changed files with 3 additions and 1 deletions

View File

@ -1880,7 +1880,9 @@ namespace OpenSim.Region.Environment.Scenes
{ {
if (m_innerScene.DeleteSceneObject(uuid, resultOfLinkingObjects)) if (m_innerScene.DeleteSceneObject(uuid, resultOfLinkingObjects))
{ {
m_storageManager.DataStore.RemoveObject(uuid, m_regInfo.RegionID); if (!resultOfLinkingObjects)
m_storageManager.DataStore.RemoveObject(uuid,
m_regInfo.RegionID);
return true; return true;
} }