Skip to content
Snippets Groups Projects
Commit e14ff61a authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent ee9cbbda
No related branches found
No related tags found
1 merge request!12Add option to control hover text fade distance and range.
...@@ -693,9 +693,8 @@ void LLHUDText::refreshAllObjectText(EObjectTextFilter eObjFilter) ...@@ -693,9 +693,8 @@ void LLHUDText::refreshAllObjectText(EObjectTextFilter eObjFilter)
void LLHUDText::onFadeSettingsChanged() void LLHUDText::onFadeSettingsChanged()
{ {
for (TextObjectIterator it = sTextObjects.begin(); it != sTextObjects.end(); ++it) for (LLHUDText* text : sTextObjects)
{ {
LLHUDText* text = *it;
if (text) if (text)
{ {
text->mFadeDistance = gSavedSettings.getF32("AlchemyHudTextFadeDistance"); text->mFadeDistance = gSavedSettings.getF32("AlchemyHudTextFadeDistance");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment