From 1a7e0184f81fff7126e47f50bd915790afc118a9 Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Sun, 1 May 2011 15:41:03 +0200 Subject: show plugin debug messages also on windows --- linden/indra/newview/llviewermedia.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'linden/indra/newview/llviewermedia.cpp') diff --git a/linden/indra/newview/llviewermedia.cpp b/linden/indra/newview/llviewermedia.cpp index c228468..84fd0ba 100644 --- a/linden/indra/newview/llviewermedia.cpp +++ b/linden/indra/newview/llviewermedia.cpp @@ -547,6 +547,13 @@ LLPluginClassMedia* LLViewerMediaImpl::newSourceFromMediaType(std::string media_ if (media_source->init(launcher_name, plugin_name, gSavedSettings.getBOOL("PluginAttachDebuggerToPlugins"))) { + #if LL_WINDOWS + if (gSavedSettings.getBOOL("ShowConsoleWindow")) + { + media_source->showConsole(); + } + #endif + return media_source; } else -- cgit v1.1