summaryrefslogtreecommitdiff
path: root/indra/newview/llnavigationbar.cpp
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2009-10-28 17:33:29 -0700
committerRick Pasetto <rick@lindenlab.com>2009-10-28 17:33:29 -0700
commitd6a2c5965e6b0b07014e8fc2dbb16edc463e0566 (patch)
tree879d891f1c6a743529d7683db3d322541e5d39f5 /indra/newview/llnavigationbar.cpp
parent5db497e398d537a7f3b23c50336e2825006e0907 (diff)
parent437449044583d50c8cad694e65e5a4a23a55d768 (diff)
merge from remote repo
Diffstat (limited to 'indra/newview/llnavigationbar.cpp')
-rw-r--r--indra/newview/llnavigationbar.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp
index 3802d13f8b..c32ef2f22b 100644
--- a/indra/newview/llnavigationbar.cpp
+++ b/indra/newview/llnavigationbar.cpp
@@ -261,6 +261,15 @@ void LLNavigationBar::draw()
onTeleportHistoryChanged();
mPurgeTPHistoryItems = false;
}
+
+ if (isBackgroundVisible())
+ {
+ static LLUICachedControl<S32> drop_shadow_floater ("DropShadowFloater", 0);
+ static LLUIColor color_drop_shadow = LLUIColorTable::instance().getColor("ColorDropShadow");
+ gl_drop_shadow(0, getRect().getHeight(), getRect().getWidth(), 0,
+ color_drop_shadow, drop_shadow_floater );
+ }
+
LLPanel::draw();
}