diff options
author | Monroe Linden <monroe@lindenlab.com> | 2009-11-10 15:57:26 -0800 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2009-11-10 15:57:26 -0800 |
commit | 2fd31363f747aaf0ec3d3d6b5711e0ecc99b2cf3 (patch) | |
tree | 0b17d949176aa80dbb0801ac240e36317e5f57e1 /indra/newview/llviewermedia.cpp | |
parent | 2d5c6ea8207664ed3ef5de356638f7e30b812836 (diff) |
Added PluginAttachDebuggerToPlugins debug setting.
Added accessors to get platform-specific process ID from LLProcessLauncher.
Added an optional "debug" argument to LLPluginClassMedia::init() and LLPluginProcessParent::init() (defaults to false).
Mac only: made the state machine in LLPluginProcessParent::idle() open a new window in Terminal.app with a gdb session attached to the plugin process upon successful launch.
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r-- | indra/newview/llviewermedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 69650425cb..66d48fadd1 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -847,7 +847,7 @@ LLPluginClassMedia* LLViewerMediaImpl::newSourceFromMediaType(std::string media_ { LLPluginClassMedia* media_source = new LLPluginClassMedia(owner); media_source->setSize(default_width, default_height); - if (media_source->init(launcher_name, plugin_name)) + if (media_source->init(launcher_name, plugin_name, gSavedSettings.getBOOL("PluginAttachDebuggerToPlugins"))) { return media_source; } |