diff options
author | Diva Canto | 2011-06-08 16:01:33 -0700 |
---|---|---|
committer | Diva Canto | 2011-06-08 16:01:33 -0700 |
commit | 80fc607d7536d4f375da4d01280a00fe656654c4 (patch) | |
tree | 0604dc00577818655490304c1bd92041a19a159f /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Added EventManager.OnPrimsLoaded, an event that modules can hook up onto so t... (diff) | |
download | opensim-SC_OLD-80fc607d7536d4f375da4d01280a00fe656654c4.zip opensim-SC_OLD-80fc607d7536d4f375da4d01280a00fe656654c4.tar.gz opensim-SC_OLD-80fc607d7536d4f375da4d01280a00fe656654c4.tar.bz2 opensim-SC_OLD-80fc607d7536d4f375da4d01280a00fe656654c4.tar.xz |
Fixed "Unknown User" listed as creator/owner on prims created with the Build button by foreign visitors. Added command to the UserManagementModule to list all the known bindings between user UUIDs and their names: show user-names.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index f122b58..bdf3d1d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1910,6 +1910,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1910 | sceneObject.SetGroup(groupID, null); | 1910 | sceneObject.SetGroup(groupID, null); |
1911 | } | 1911 | } |
1912 | 1912 | ||
1913 | IUserManagement uman = RequestModuleInterface<IUserManagement>(); | ||
1914 | if (uman != null) | ||
1915 | sceneObject.RootPart.CreatorIdentification = uman.GetUserUUI(ownerID); | ||
1916 | |||
1913 | sceneObject.ScheduleGroupForFullUpdate(); | 1917 | sceneObject.ScheduleGroupForFullUpdate(); |
1914 | 1918 | ||
1915 | return sceneObject; | 1919 | return sceneObject; |