aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService/AgentPreferencesService.cs
diff options
context:
space:
mode:
authorMelanie Thielker2016-04-29 22:36:56 +0200
committerMelanie Thielker2016-04-29 22:36:56 +0200
commit59ed89769aa292196f99affe0a99a758e63a538a (patch)
tree2c09cf5c14e2dc51b0e95cdd95ffd29d01abcbe0 /OpenSim/Services/UserAccountService/AgentPreferencesService.cs
parentAllow default permissions from the viewer to be applied to uploaded objects. (diff)
downloadopensim-SC-59ed89769aa292196f99affe0a99a758e63a538a.zip
opensim-SC-59ed89769aa292196f99affe0a99a758e63a538a.tar.gz
opensim-SC-59ed89769aa292196f99affe0a99a758e63a538a.tar.bz2
opensim-SC-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/AgentPreferencesService.cs')
-rw-r--r--OpenSim/Services/UserAccountService/AgentPreferencesService.cs2
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