diff options
author | Jacek Antonelli | 2008-08-15 23:45:29 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:29 -0500 |
commit | 7bdb4845afdd157f95281293803567090e3f992a (patch) | |
tree | fbcada1c227d7407f9f37ccba360bfe6326d9c5e /linden/indra/newview/llviewerparcelmgr.cpp | |
parent | Second Life viewer sources 1.19.0.0 (diff) | |
download | meta-impy-7bdb4845afdd157f95281293803567090e3f992a.zip meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.gz meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.bz2 meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.xz |
Second Life viewer sources 1.19.0.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewerparcelmgr.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/linden/indra/newview/llviewerparcelmgr.cpp b/linden/indra/newview/llviewerparcelmgr.cpp index 6ec29ae..4730799 100644 --- a/linden/indra/newview/llviewerparcelmgr.cpp +++ b/linden/indra/newview/llviewerparcelmgr.cpp | |||
@@ -588,13 +588,13 @@ void LLViewerParcelMgr::deselectLand() | |||
588 | 588 | ||
589 | mSelectedDwell = 0.f; | 589 | mSelectedDwell = 0.f; |
590 | 590 | ||
591 | notifyObservers(); | ||
592 | |||
593 | // invalidate parcel selection so that existing users of this selection can clean up | 591 | // invalidate parcel selection so that existing users of this selection can clean up |
594 | mCurrentParcelSelection->setParcel(NULL); | 592 | mCurrentParcelSelection->setParcel(NULL); |
595 | mFloatingParcelSelection->setParcel(NULL); | 593 | mFloatingParcelSelection->setParcel(NULL); |
596 | // create new parcel selection | 594 | // create new parcel selection |
597 | mCurrentParcelSelection = new LLParcelSelection(mCurrentParcel); | 595 | mCurrentParcelSelection = new LLParcelSelection(mCurrentParcel); |
596 | |||
597 | notifyObservers(); // Notify observers *after* changing the parcel selection | ||
598 | } | 598 | } |
599 | } | 599 | } |
600 | 600 | ||
@@ -1803,9 +1803,9 @@ void optionally_start_music(const LLString& music_url) | |||
1803 | 1803 | ||
1804 | // now only play music when you enter a new parcel if the control is in PLAY state | 1804 | // now only play music when you enter a new parcel if the control is in PLAY state |
1805 | // changed as part of SL-4878 | 1805 | // changed as part of SL-4878 |
1806 | if ( gOverlayBar && gOverlayBar->musicPlaying() ) | 1806 | if ( gOverlayBar && gOverlayBar->musicPlaying()) |
1807 | { | 1807 | { |
1808 | LLOverlayBar::musicPlay(NULL); | 1808 | gAudiop->startInternetStream(music_url.c_str()); |
1809 | } | 1809 | } |
1810 | } | 1810 | } |
1811 | } | 1811 | } |
@@ -1819,7 +1819,10 @@ void callback_start_music(S32 option, void* data) | |||
1819 | { | 1819 | { |
1820 | gSavedSettings.setBOOL("AudioStreamingMusic", TRUE); | 1820 | gSavedSettings.setBOOL("AudioStreamingMusic", TRUE); |
1821 | llinfos << "Starting first parcel music " << music_url << llendl; | 1821 | llinfos << "Starting first parcel music " << music_url << llendl; |
1822 | LLOverlayBar::musicPlay(NULL); | 1822 | if ( gOverlayBar && gOverlayBar->musicPlaying()) |
1823 | { | ||
1824 | gAudiop->startInternetStream(music_url->c_str()); | ||
1825 | } | ||
1823 | } | 1826 | } |
1824 | else | 1827 | else |
1825 | { | 1828 | { |