aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorMW2007-08-29 15:32:48 +0000
committerMW2007-08-29 15:32:48 +0000
commit1a33582c05cdbec32d925ff214b50997ecce51a6 (patch)
tree68042a209bfc48ce0a491f63b63ed4ef0c181065 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parentAttempt to fix bug on linux where estate_settings.xml gets wiped. (diff)
downloadopensim-SC-1a33582c05cdbec32d925ff214b50997ecce51a6.zip
opensim-SC-1a33582c05cdbec32d925ff214b50997ecce51a6.tar.gz
opensim-SC-1a33582c05cdbec32d925ff214b50997ecce51a6.tar.bz2
opensim-SC-1a33582c05cdbec32d925ff214b50997ecce51a6.tar.xz
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.cs4
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);