diff options
Attempt to cut down how often objects are backed up to the database.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 80d702b..cb6355f 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -363,6 +363,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
363 | /// </summary> | 363 | /// </summary> |
364 | public void ScheduleFullUpdate() | 364 | public void ScheduleFullUpdate() |
365 | { | 365 | { |
366 | m_parentGroup.HasChanged = true; | ||
366 | m_updateFlag = 2; | 367 | m_updateFlag = 2; |
367 | } | 368 | } |
368 | 369 | ||
@@ -373,6 +374,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
373 | { | 374 | { |
374 | if (m_updateFlag < 1) | 375 | if (m_updateFlag < 1) |
375 | { | 376 | { |
377 | m_parentGroup.HasChanged = true; | ||
376 | m_updateFlag = 1; | 378 | m_updateFlag = 1; |
377 | } | 379 | } |
378 | } | 380 | } |
@@ -482,7 +484,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
482 | return false; | 484 | return false; |
483 | } | 485 | } |
484 | 486 | ||
485 | public string RequestInventoryFile(ModuleAPIMethod<bool, string, byte[]> addXferFile) | 487 | public string RequestInventoryFile(ModuleAPIMethod2<bool, string, byte[]> addXferFile) |
486 | { | 488 | { |
487 | byte[] fileData = new byte[0]; | 489 | byte[] fileData = new byte[0]; |
488 | InventoryStringBuilder invString = new InventoryStringBuilder(m_folderID, this.UUID); | 490 | InventoryStringBuilder invString = new InventoryStringBuilder(m_folderID, this.UUID); |