diff options
author | Oz Linden <oz@lindenlab.com> | 2011-02-24 22:27:08 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-02-24 22:27:08 -0500 |
commit | ed73c8bf6357ca1e1a8009ead6b3b664e25c29c9 (patch) | |
tree | 36a9cb02c09caed35696d35686948190b697cb7a /indra/llplugin/llpluginprocesschild.cpp | |
parent | 2e7461277801dc0daa1e9ea509e079c980045f42 (diff) | |
parent | 4c343c4506604b8dd0ac2d99a2b9661a1d382fc7 (diff) |
pull latest changes from viewer-vs2010
Diffstat (limited to 'indra/llplugin/llpluginprocesschild.cpp')
-rw-r--r-- | indra/llplugin/llpluginprocesschild.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llplugin/llpluginprocesschild.cpp b/indra/llplugin/llpluginprocesschild.cpp index 45a86476ac..0beb46d0e5 100644 --- a/indra/llplugin/llpluginprocesschild.cpp +++ b/indra/llplugin/llpluginprocesschild.cpp @@ -139,7 +139,7 @@ void LLPluginProcessChild::idle(void) if(!mPluginFile.empty()) { mInstance = new LLPluginInstance(this); - if(mInstance->load(mPluginFile) == 0) + if(mInstance->load(mPluginDir, mPluginFile) == 0) { mHeartbeat.start(); mHeartbeat.setTimerExpirySec(HEARTBEAT_SECONDS); @@ -348,6 +348,7 @@ void LLPluginProcessChild::receiveMessageRaw(const std::string &message) if(message_name == "load_plugin") { mPluginFile = parsed.getValue("file"); + mPluginDir = parsed.getValue("dir"); } else if(message_name == "shm_add") { |