diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-03-17 13:35:39 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-03-17 13:35:39 -0400 |
commit | 6e761bb5f2fac9155b03b74008cfca141968ae6c (patch) | |
tree | 8fa1dcf8f2f6edae67e832dc34a6286901ae771d /indra/newview/llviewermedia.cpp | |
parent | a5c43859c355afbb5a24d8599756297cad07f590 (diff) | |
parent | 509457b8ef7bfb8e5b6dcb1a25996ae8fe329007 (diff) |
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r-- | indra/newview/llviewermedia.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 64dcd62a6a..b9509a98f5 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -1258,8 +1258,9 @@ LLPluginClassMedia* LLViewerMediaImpl::newSourceFromMediaType(std::string media_ { LLPluginClassMedia* media_source = new LLPluginClassMedia(owner); media_source->setSize(default_width, default_height); - std::string language_code = LLUI::getLanguage(); - if (media_source->init(launcher_name, plugin_name, gSavedSettings.getBOOL("PluginAttachDebuggerToPlugins"), user_data_path, language_code)) + media_source->setUserDataPath(user_data_path); + media_source->setLanguageCode(LLUI::getLanguage()); + if (media_source->init(launcher_name, plugin_name, gSavedSettings.getBOOL("PluginAttachDebuggerToPlugins"))) { return media_source; } |