diff options
Diffstat (limited to 'OpenSim/Services/Interfaces/IAgentPreferencesService.cs')
-rw-r--r-- | OpenSim/Services/Interfaces/IAgentPreferencesService.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/Interfaces/IAgentPreferencesService.cs b/OpenSim/Services/Interfaces/IAgentPreferencesService.cs index af92326..6d2ce8f 100644 --- a/OpenSim/Services/Interfaces/IAgentPreferencesService.cs +++ b/OpenSim/Services/Interfaces/IAgentPreferencesService.cs | |||
@@ -45,7 +45,7 @@ namespace OpenSim.Services.Interfaces | |||
45 | if (kvp.ContainsKey("AccessPrefs")) | 45 | if (kvp.ContainsKey("AccessPrefs")) |
46 | AccessPrefs = kvp["AccessPrefs"]; | 46 | AccessPrefs = kvp["AccessPrefs"]; |
47 | if (kvp.ContainsKey("HoverHeight")) | 47 | if (kvp.ContainsKey("HoverHeight")) |
48 | HoverHeight = double.Parse(kvp["HoverHeight"]); | 48 | HoverHeight = float.Parse(kvp["HoverHeight"]); |
49 | if (kvp.ContainsKey("Language")) | 49 | if (kvp.ContainsKey("Language")) |
50 | Language = kvp["Language"]; | 50 | Language = kvp["Language"]; |
51 | if (kvp.ContainsKey("LanguageIsPublic")) | 51 | if (kvp.ContainsKey("LanguageIsPublic")) |
@@ -65,7 +65,7 @@ namespace OpenSim.Services.Interfaces | |||
65 | if (kvp.ContainsKey("AccessPrefs")) | 65 | if (kvp.ContainsKey("AccessPrefs")) |
66 | AccessPrefs = kvp["AccessPrefs"].ToString(); | 66 | AccessPrefs = kvp["AccessPrefs"].ToString(); |
67 | if (kvp.ContainsKey("HoverHeight")) | 67 | if (kvp.ContainsKey("HoverHeight")) |
68 | HoverHeight = double.Parse(kvp["HoverHeight"].ToString()); | 68 | HoverHeight = float.Parse(kvp["HoverHeight"].ToString()); |
69 | if (kvp.ContainsKey("Language")) | 69 | if (kvp.ContainsKey("Language")) |
70 | Language = kvp["Language"].ToString(); | 70 | Language = kvp["Language"].ToString(); |
71 | if (kvp.ContainsKey("LanguageIsPublic")) | 71 | if (kvp.ContainsKey("LanguageIsPublic")) |
@@ -95,7 +95,7 @@ namespace OpenSim.Services.Interfaces | |||
95 | public UUID PrincipalID = UUID.Zero; | 95 | public UUID PrincipalID = UUID.Zero; |
96 | public string AccessPrefs = "M"; | 96 | public string AccessPrefs = "M"; |
97 | //public int GodLevel; // *TODO: Implement GodLevel (Unused by the viewer, afaict - 6/11/2015) | 97 | //public int GodLevel; // *TODO: Implement GodLevel (Unused by the viewer, afaict - 6/11/2015) |
98 | public double HoverHeight = 0.0; | 98 | public float HoverHeight = 0.0f; |
99 | public string Language = "en-us"; | 99 | public string Language = "en-us"; |
100 | public bool LanguageIsPublic = true; | 100 | public bool LanguageIsPublic = true; |
101 | // DefaultObjectPermMasks | 101 | // DefaultObjectPermMasks |