[sldev] PreferredMaturity setting and settings.xml

Soft soft at lindenlab.com
Fri Jun 12 07:47:22 PDT 2009


My bad - I pointed this out internally, but I don't think I captured it in JIRA.

It's too late for 1.23, but if that's still set persistent in
settings.xml, I'll unset it.

On Fri, Jun 12, 2009 at 8:48 AM, Suzy Deffeyes<suzyq at pobox.com> wrote:
> Hi All,
>
> I'm working on porting OGP
> (http://wiki.secondlife.com/wiki/Open_Grid_Protocol ) login and teleport
> from the OGP9 branch to Snowglobe.
>
> I had a question about the PreferredMaturity setting.  I can understand why
> the viewer would get the maturity flags from the server, but why save them
> in settings.xml?  For authentication systems that don't pass back
> agent_region_access (like OpenSim or OGP), wouldn't that mean that I'd end
> up getting whatever the last main grid authenticate happened to store in my
> settings.xml? And wouldn't this mean the setting.xml value for
> PreferredMaturity would in fact not be user controllable via settings.xml?
>
> From llstartup.cpp:
>             // this is the value of their preference setting for that
> content
>             // which will always be <= agent_access_max
>             text =
> LLUserAuth::getInstance()->getResponse("agent_region_access");
>             if (!text.empty())
>             {
>                 int preferredMaturity =
> LLAgent::convertTextToMaturity(text[0]);
>                 gSavedSettings.setU32("PreferredMaturity",
> preferredMaturity);
>             }
>
> Thanks
> Suzy Deffeyes/ Pixel Gausman
> IBM
>
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/SLDev
> Please read the policies before posting to keep unmoderated posting
> privileges
>


More information about the SLDev mailing list