A few changes after code review from Liru
This commit is contained in:
@@ -479,7 +479,6 @@ void LLOverlayBar::toggleMediaPlay(void*)
|
||||
LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel();
|
||||
if (parcel)
|
||||
{
|
||||
//LLViewerParcelMedia::sIsUserAction = true;
|
||||
LLViewerParcelMedia::play(parcel);
|
||||
}
|
||||
}
|
||||
@@ -505,7 +504,6 @@ void LLOverlayBar::toggleMusicPlay(void*)
|
||||
// stream is stopped, it doesn't return the right thing - commenting out for now.
|
||||
// if ( gAudiop->isInternetStreamPlaying() == 0 )
|
||||
{
|
||||
//LLViewerParcelMedia::sIsUserAction = true;
|
||||
LLViewerParcelMedia::playStreamingMusic(parcel);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user