diff options
author | UbitUmarov | 2014-09-22 14:32:56 +0100 |
---|---|---|
committer | UbitUmarov | 2014-09-22 14:32:56 +0100 |
commit | fe3c1b9e98d9100a6ae04f077644e0c3790f6b4d (patch) | |
tree | 9a206536ad6d2383c7e2acf90edd1eab136f0fdb /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | update scenegraph group find by part information in sog link, so script lin... (diff) | |
download | opensim-SC-fe3c1b9e98d9100a6ae04f077644e0c3790f6b4d.zip opensim-SC-fe3c1b9e98d9100a6ae04f077644e0c3790f6b4d.tar.gz opensim-SC-fe3c1b9e98d9100a6ae04f077644e0c3790f6b4d.tar.bz2 opensim-SC-fe3c1b9e98d9100a6ae04f077644e0c3790f6b4d.tar.xz |
send to world or backup, after setting finding information
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index bc91961..fe785dd 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -432,13 +432,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
432 | 432 | ||
433 | sceneObject.AttachToScene(m_parentScene); | 433 | sceneObject.AttachToScene(m_parentScene); |
434 | 434 | ||
435 | if (sendClientUpdates) | ||
436 | sceneObject.ScheduleGroupForFullUpdate(); | ||
437 | 435 | ||
438 | Entities.Add(sceneObject); | 436 | Entities.Add(sceneObject); |
439 | 437 | ||
440 | if (attachToBackup) | ||
441 | sceneObject.AttachToBackup(); | ||
442 | 438 | ||
443 | lock (SceneObjectGroupsByFullID) | 439 | lock (SceneObjectGroupsByFullID) |
444 | SceneObjectGroupsByFullID[sceneObject.UUID] = sceneObject; | 440 | SceneObjectGroupsByFullID[sceneObject.UUID] = sceneObject; |
@@ -459,6 +455,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
459 | SceneObjectGroupsByLocalPartID[part.LocalId] = sceneObject; | 455 | SceneObjectGroupsByLocalPartID[part.LocalId] = sceneObject; |
460 | } | 456 | } |
461 | 457 | ||
458 | if (sendClientUpdates) | ||
459 | sceneObject.ScheduleGroupForFullUpdate(); | ||
460 | |||
461 | if (attachToBackup) | ||
462 | sceneObject.AttachToBackup(); | ||
463 | |||
462 | return true; | 464 | return true; |
463 | } | 465 | } |
464 | 466 | ||