diff options
author | McCabe Maxsted | 2009-02-14 23:16:16 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-02-14 23:16:16 -0700 |
commit | 5ca6654804dd26f41320b461dbe81d1dba42c3f4 (patch) | |
tree | 0aaf5095690f344a2f7fd201eb15ec90552dc24d /linden/indra/newview/lloverlaybar.cpp | |
parent | Fixed missing music prompt (streaming now enabled by default) (diff) | |
download | meta-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.cpp | 7 |
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 |
364 | void LLOverlayBar::musicFirstRun() | ||
365 | { | ||
366 | gOverlayBar->mMusicState = PLAYING; | ||
367 | } | ||
368 | |||
369 | //static | ||
363 | void LLOverlayBar::toggleMusicPlay(void*) | 370 | void LLOverlayBar::toggleMusicPlay(void*) |
364 | { | 371 | { |
365 | if (!gOverlayBar) | 372 | if (!gOverlayBar) |