aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorCharles Krinke2008-09-14 02:56:51 +0000
committerCharles Krinke2008-09-14 02:56:51 +0000
commit1d5e870ee2a45d6df6f2114c8df90de0015bcb6e (patch)
tree916df21c5763a67cee9ea4456638a980273f390e /OpenSim/Data
parent* Minor fixes and cleanups around code being used for Rex Module work. (diff)
downloadopensim-SC-1d5e870ee2a45d6df6f2114c8df90de0015bcb6e.zip
opensim-SC-1d5e870ee2a45d6df6f2114c8df90de0015bcb6e.tar.gz
opensim-SC-1d5e870ee2a45d6df6f2114c8df90de0015bcb6e.tar.bz2
opensim-SC-1d5e870ee2a45d6df6f2114c8df90de0015bcb6e.tar.xz
Thank you kindly, CMickeyb for a patch that:
Moved intialization of appearance from the SendInitialData event handler into CompleteMovement handler. That ensures that m_appearance is initialized before the inventory is retrieved (so there is a place to check on attachments).
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/MySQL/MySQLUserData.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs
index 81acbfb..5f7db15 100644
--- a/OpenSim/Data/MySQL/MySQLUserData.cs
+++ b/OpenSim/Data/MySQL/MySQLUserData.cs
@@ -722,6 +722,12 @@ namespace OpenSim.Data.MySQL
722 reader.Dispose(); 722 reader.Dispose();
723 result.Dispose(); 723 result.Dispose();
724 724
725 if (null == appearance)
726 {
727 m_log.WarnFormat("[USER DB] No appearance found for user {0}", user.ToString());
728 return null;
729 }
730
725 appearance.SetAttachments(GetUserAttachments(user)); 731 appearance.SetAttachments(GetUserAttachments(user));
726 732
727 return appearance; 733 return appearance;