aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lloverlaybar.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-02-14 23:16:16 -0700
committerMcCabe Maxsted2009-02-14 23:16:16 -0700
commit5ca6654804dd26f41320b461dbe81d1dba42c3f4 (patch)
tree0aaf5095690f344a2f7fd201eb15ec90552dc24d /linden/indra/newview/lloverlaybar.cpp
parentFixed missing music prompt (streaming now enabled by default) (diff)
downloadmeta-impy-5ca6654804dd26f41320b461dbe81d1dba42c3f4.zip
meta-impy-5ca6654804dd26f41320b461dbe81d1dba42c3f4.tar.gz
meta-impy-5ca6654804dd26f41320b461dbe81d1dba42c3f4.tar.bz2
meta-impy-5ca6654804dd26f41320b461dbe81d1dba42c3f4.tar.xz
Fixed music button not toggling on first run
Diffstat (limited to 'linden/indra/newview/lloverlaybar.cpp')
-rw-r--r--linden/indra/newview/lloverlaybar.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/newview/lloverlaybar.cpp b/linden/indra/newview/lloverlaybar.cpp
index 1087fd8..80cac14 100644
--- a/linden/indra/newview/lloverlaybar.cpp
+++ b/linden/indra/newview/lloverlaybar.cpp
@@ -275,6 +275,7 @@ void LLOverlayBar::refresh()
275 { 275 {
276 layoutButtons(); 276 layoutButtons();
277 } 277 }
278
278} 279}
279 280
280//----------------------------------------------------------------------- 281//-----------------------------------------------------------------------
@@ -360,6 +361,12 @@ void LLOverlayBar::toggleMediaPlay(void*)
360} 361}
361 362
362//static 363//static
364void LLOverlayBar::musicFirstRun()
365{
366 gOverlayBar->mMusicState = PLAYING;
367}
368
369//static
363void LLOverlayBar::toggleMusicPlay(void*) 370void LLOverlayBar::toggleMusicPlay(void*)
364{ 371{
365 if (!gOverlayBar) 372 if (!gOverlayBar)