mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
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.
This commit is contained in:
@@ -49,7 +49,7 @@ namespace OpenSim.Services.UserAccountService
|
||||
public AgentPrefs GetAgentPreferences(UUID principalID)
|
||||
{
|
||||
AgentPreferencesData d = m_Database.GetPrefs(principalID);
|
||||
AgentPrefs prefs = (d == null) ? new AgentPrefs(principalID) : new AgentPrefs(d.Data);
|
||||
AgentPrefs prefs = (d == null) ? null : new AgentPrefs(d.Data);
|
||||
return prefs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user