aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-14 19:23:44 -0700
committerJohn Hurliman2009-10-14 19:23:44 -0700
commit4790f8576c868ac92b5f2c9e96e1f8629af09d4d (patch)
tree4ab16c12752676c1c5e863c6cbdc45652ad93949 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentMerge branch 'htb-throttle' of ssh://opensimulator.org/var/git/opensim into h... (diff)
downloadopensim-SC_OLD-4790f8576c868ac92b5f2c9e96e1f8629af09d4d.zip
opensim-SC_OLD-4790f8576c868ac92b5f2c9e96e1f8629af09d4d.tar.gz
opensim-SC_OLD-4790f8576c868ac92b5f2c9e96e1f8629af09d4d.tar.bz2
opensim-SC_OLD-4790f8576c868ac92b5f2c9e96e1f8629af09d4d.tar.xz
* Replaced (possibly broken?) math for calculating the unix timestamp in MySQLAssetData with Utils.DateTimeToUnixTime()
* Disabled UpdateAccessTime() function since it was only writing zeros anyways. This gave me a significant performance improvement for startup times and avatar logins in standalone mode * Load attachments asynchronously so avatars with lots of attachments don't have to race the timeout clock to login
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 15fb11f..2a06f9e 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3841,6 +3841,9 @@ namespace OpenSim.Region.Framework.Scenes
3841 List<int> attPoints = m_appearance.GetAttachedPoints(); 3841 List<int> attPoints = m_appearance.GetAttachedPoints();
3842 foreach (int p in attPoints) 3842 foreach (int p in attPoints)
3843 { 3843 {
3844 if (m_isDeleted)
3845 return;
3846
3844 UUID itemID = m_appearance.GetAttachedItem(p); 3847 UUID itemID = m_appearance.GetAttachedItem(p);
3845 UUID assetID = m_appearance.GetAttachedAsset(p); 3848 UUID assetID = m_appearance.GetAttachedAsset(p);
3846 3849
@@ -3866,9 +3869,7 @@ namespace OpenSim.Region.Framework.Scenes
3866 { 3869 {
3867 m_log.ErrorFormat("[ATTACHMENT]: Unable to rez attachment: {0}", e.ToString()); 3870 m_log.ErrorFormat("[ATTACHMENT]: Unable to rez attachment: {0}", e.ToString());
3868 } 3871 }
3869
3870 } 3872 }
3871
3872 } 3873 }
3873 } 3874 }
3874} 3875}