diff options
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/app_settings/shaders/class3/environment/waterF.glsl | 5 | ||||
| -rw-r--r-- | indra/newview/llfloaterimcontainer.cpp | 6 | 
2 files changed, 7 insertions, 4 deletions
| diff --git a/indra/newview/app_settings/shaders/class3/environment/waterF.glsl b/indra/newview/app_settings/shaders/class3/environment/waterF.glsl index 366335b4f6..b9de4edc67 100644 --- a/indra/newview/app_settings/shaders/class3/environment/waterF.glsl +++ b/indra/newview/app_settings/shaders/class3/environment/waterF.glsl @@ -26,7 +26,6 @@  // class3/environment/waterF.glsl  #define WATER_MINIMAL 1 -#define SHORELINE_FADE 1  out vec4 frag_color; @@ -269,9 +268,9 @@ void main()  #ifdef SHORELINE_FADE      fade = max(0.0,min(1.0, (pos.z - refPos.z) / 10.0));  #else -    fade = 1.0 * water_mask; +    fade = 1.0;  #endif - +    fade *= water_mask;      distort2 = mix(distort, distort2, min(1.0, fade * 10.0));      depth = texture(depthMap, distort2).r; diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp index 920f2b1698..4fed8eebb8 100644 --- a/indra/newview/llfloaterimcontainer.cpp +++ b/indra/newview/llfloaterimcontainer.cpp @@ -1947,7 +1947,7 @@ bool LLFloaterIMContainer::removeConversationListItem(const LLUUID& uuid, bool c      mConversationEventQueue.erase(uuid);      // Don't let the focus fall IW, select and refocus on the first conversation in the list -    if (change_focus) +    if (change_focus && isInVisibleChain())      {          setFocus(true);          if (new_selection) @@ -1967,6 +1967,10 @@ bool LLFloaterIMContainer::removeConversationListItem(const LLUUID& uuid, bool c              }          }      } +    else +    { +        LL_INFOS() << "Conversation widgets: " << (S32)mConversationsWidgets.size() << LL_ENDL; +    }      return is_widget_selected;  } | 
