diff options
author | Melanie Thielker | 2016-04-29 22:36:56 +0200 |
---|---|---|
committer | Melanie Thielker | 2016-04-29 22:36:56 +0200 |
commit | 59ed89769aa292196f99affe0a99a758e63a538a (patch) | |
tree | 2c09cf5c14e2dc51b0e95cdd95ffd29d01abcbe0 /OpenSim/Services/UserAccountService | |
parent | Allow default permissions from the viewer to be applied to uploaded objects. (diff) | |
download | opensim-SC_OLD-59ed89769aa292196f99affe0a99a758e63a538a.zip opensim-SC_OLD-59ed89769aa292196f99affe0a99a758e63a538a.tar.gz opensim-SC_OLD-59ed89769aa292196f99affe0a99a758e63a538a.tar.bz2 opensim-SC_OLD-59ed89769aa292196f99affe0a99a758e63a538a.tar.xz |
Apply user specified default perms across the board, to items uploaded as well as items created and to rezzed prims in world.
This effectively removes the concept of "default permissions" from OpenSim
because all known modern viewers set the permissions flags on login.
Ancient abandoned viewers will now default to the SL defaults.
Diffstat (limited to 'OpenSim/Services/UserAccountService')
-rw-r--r-- | OpenSim/Services/UserAccountService/AgentPreferencesService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/AgentPreferencesService.cs b/OpenSim/Services/UserAccountService/AgentPreferencesService.cs index 1808ee5..5013152 100644 --- a/OpenSim/Services/UserAccountService/AgentPreferencesService.cs +++ b/OpenSim/Services/UserAccountService/AgentPreferencesService.cs | |||
@@ -49,7 +49,7 @@ namespace OpenSim.Services.UserAccountService | |||
49 | public AgentPrefs GetAgentPreferences(UUID principalID) | 49 | public AgentPrefs GetAgentPreferences(UUID principalID) |
50 | { | 50 | { |
51 | AgentPreferencesData d = m_Database.GetPrefs(principalID); | 51 | AgentPreferencesData d = m_Database.GetPrefs(principalID); |
52 | AgentPrefs prefs = (d == null) ? new AgentPrefs(principalID) : new AgentPrefs(d.Data); | 52 | AgentPrefs prefs = (d == null) ? null : new AgentPrefs(d.Data); |
53 | return prefs; | 53 | return prefs; |
54 | } | 54 | } |
55 | 55 | ||