Commit daf9afcc authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Ensure that .plugins file is loaded correctly.

The vtkPVPluginTracker was being initialized prematurely resulting in the
.plugins file not being located/parsed. Fixed that.

Change-Id: I7cbbec224e8fe60d86406d3656ccad976f47be2d
parent d4afd109
......@@ -77,8 +77,6 @@ void vtkInitializationHelper::Initialize(int argc, char**argv,
// compatible with the version of the headers we compiled against.
GOOGLE_PROTOBUF_VERIFY_VERSION;
PARAVIEW_INITIALIZE();
vtkProcessModule::Initialize(
static_cast<vtkProcessModule::ProcessTypes>(type), argc, argv);
......@@ -112,6 +110,10 @@ void vtkInitializationHelper::Initialize(int argc, char**argv,
vtkProcessModule::GetProcessModule()->SetOptions(options);
// this has to happen after process module is initialized and options have
// been set.
PARAVIEW_INITIALIZE();
// Set multi-server flag to vtkProcessModule
vtkProcessModule::GetProcessModule()->SetMultipleSessionsSupport(
options->GetMultiServerMode() != 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment