diff options
author | Merov Linden <merov@lindenlab.com> | 2011-02-09 20:18:26 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2011-02-09 20:18:26 -0800 |
commit | 76cb9a7796ffce930458aae00147f8dafa4b33fb (patch) | |
tree | c9553396094aba4608da58662e5383c009423d2e /indra/llplugin/llpluginprocessparent.cpp | |
parent | b82f2c4e4d8c4b9a349e4cd933dff7a0844019c0 (diff) | |
parent | 0ea1b472c636415a48b8cc688ec9b7663be6dc9d (diff) |
STORM-986 : pull into viewer-development
Diffstat (limited to 'indra/llplugin/llpluginprocessparent.cpp')
-rw-r--r-- | indra/llplugin/llpluginprocessparent.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp index c002de0462..db4b8b1316 100644 --- a/indra/llplugin/llpluginprocessparent.cpp +++ b/indra/llplugin/llpluginprocessparent.cpp @@ -157,10 +157,11 @@ void LLPluginProcessParent::errorState(void) setState(STATE_ERROR); } -void LLPluginProcessParent::init(const std::string &launcher_filename, const std::string &plugin_filename, bool debug) +void LLPluginProcessParent::init(const std::string &launcher_filename, const std::string &plugin_dir, const std::string &plugin_filename, bool debug) { mProcess.setExecutable(launcher_filename); mPluginFile = plugin_filename; + mPluginDir = plugin_dir; mCPUUsage = 0.0f; mDebug = debug; setState(STATE_INITIALIZED); @@ -445,6 +446,7 @@ void LLPluginProcessParent::idle(void) { LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_INTERNAL, "load_plugin"); message.setValue("file", mPluginFile); + message.setValue("dir", mPluginDir); sendMessage(message); } |