diff options
author | Justin Clark-Casey (justincc) | 2015-01-31 00:17:59 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2015-01-31 00:17:59 +0000 |
commit | 87936947ab2e1610506c3127d38e52d59a49e59d (patch) | |
tree | 0df5dd4421d8490cf490e0ffc677a343d1d57506 /OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs | |
parent | Revert "Stop currently unsettable display names from appearing when [ClientSt... (diff) | |
download | opensim-SC-87936947ab2e1610506c3127d38e52d59a49e59d.zip opensim-SC-87936947ab2e1610506c3127d38e52d59a49e59d.tar.gz opensim-SC-87936947ab2e1610506c3127d38e52d59a49e59d.tar.bz2 opensim-SC-87936947ab2e1610506c3127d38e52d59a49e59d.tar.xz |
As per advice from Singularity devs, set is_display_name_default = true in GetDisplayName cap return data to make the single name appear.
This is still always your avatar name - code to set a different display is not yet implemented.
This works from my testing with current Firestorm and Singuarity releases.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs b/OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs index 0353d9d..589602d 100644 --- a/OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs | |||
@@ -99,7 +99,7 @@ namespace OpenSim.Capabilities.Handlers | |||
99 | osdname["legacy_last_name"] = parts[1]; | 99 | osdname["legacy_last_name"] = parts[1]; |
100 | osdname["username"] = OSD.FromString(name); | 100 | osdname["username"] = OSD.FromString(name); |
101 | osdname["id"] = OSD.FromUUID(uuid); | 101 | osdname["id"] = OSD.FromUUID(uuid); |
102 | osdname["is_display_name_default"] = OSD.FromBoolean(false); | 102 | osdname["is_display_name_default"] = OSD.FromBoolean(true); |
103 | 103 | ||
104 | agents.Add(osdname); | 104 | agents.Add(osdname); |
105 | } | 105 | } |