From e53ba002120f35c7181b638422861e79c4902b4d Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 24 Aug 2007 20:58:24 +0000 Subject: [PATCH] Now also enabled Inventory persistence in standalone mode when account Authentication is turned off. --- OpenSim/Region/Communications/Local/LocalLoginService.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs index d3b76de346..c4616613ff 100644 --- a/OpenSim/Region/Communications/Local/LocalLoginService.cs +++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs @@ -47,6 +47,10 @@ namespace OpenSim.Region.Communications.Local this.m_userManager.AddUserProfile(firstname, lastname, "test", defaultHomeX, defaultHomeY); profile = this.m_userManager.getUserProfile(firstname, lastname); + if (profile != null) + { + m_Parent.InvenServices.CreateNewUserInventory(profile.UUID); + } return profile; }