Clean up settings_setup_listeners()
Reported by Jacek Antonelli | March 29th, 2009 @ 01:15 AM
In newview/llviewercontrol.cpp : settings_setup_listeners() needs to be hit with a DRY stick, hard.
gSavedSettings.getControl("FirstPersonAvatarVisible")->getSignal()->connect(boost::bind(&handleRenderAvatarMouselookChanged, _1));
gSavedSettings.getControl("RenderFarClip")->getSignal()->connect(boost::bind(&handleRenderFarClipChanged, _1));
gSavedSettings.getControl("RenderTerrainDetail")->getSignal()->connect(boost::bind(&handleTerrainDetailChanged, _1));
gSavedSettings.getControl("RenderAvatarVP")->getSignal()->connect(boost::bind(&handleSetShaderChanged, _1));
[ ... over 100 more just like these ]
gSavedSettings.getControl("LipSyncEnabled")->getSignal()->connect(boost::bind(&handleVoiceClientPrefsChanged, _1));
Comments and changes to this ticket
-
Jacek Antonelli March 29th, 2009 @ 01:17 AM
- Milestone set to 1.2.0
-
Jacek Antonelli January 5th, 2010 @ 07:54 AM
- Milestone cleared.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Open source metaverse (Second Life) viewer with an emphasis on usability and bold changes.