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

Reply via email to