Nicky 2016-10-05 22:34:46 +02:00
commit 1bbbc85e46
1 changed files with 1 additions and 3 deletions

View File

@ -116,7 +116,7 @@ void LLPluginClassMedia::reset()
mMediaHeight = 0;
mDirtyRect = LLRect::null;
mAutoScaleMedia = false;
mRequestedVolume = 1.0f;
mRequestedVolume = 0.0f;
mPriority = PRIORITY_NORMAL;
mLowPrioritySizeLimit = LOW_PRIORITY_TEXTURE_SIZE_DEFAULT;
mAllowDownsample = false;
@ -1468,8 +1468,6 @@ void LLPluginClassMedia::setVolume(float volume)
LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA_TIME, "set_volume");
LL_INFOS() << "@@@@@@@@@@ volume is " << volume << LL_ENDL;
message.setValueReal("volume", volume);
sendMessage(message);