Commit ce8897ae authored by Cory Quammen's avatar Cory Quammen

Change default application name

Changed default name to GenericParaViewApplication in the
initialization helper to prevent any accidental reading/writing of
ParaView's settings file by branded applications.

Change-Id: I1d4b3e7df383a070df5b4c83db8de88a944d6316
parent 23967328
......@@ -61,6 +61,7 @@ namespace ParaViewPython {
// main processes waits in MPI_Init() and calls exit() when
// the others are done, causing apparent memory leaks for any non-static objects
// created before MPI_Init().
vtkInitializationHelper::SetApplicationName("ParaView");
static vtkSmartPointer<vtkPVPythonOptions> options =
vtkSmartPointer<vtkPVPythonOptions>::New();
vtkInitializationHelper::Initialize( argc, argv, processType, options );
......
......@@ -87,7 +87,7 @@ bool vtkInitializationHelper::LoadSettingsFilesDuringInitialization = true;
bool vtkInitializationHelper::SaveUserSettingsFileDuringFinalization = false;
std::string vtkInitializationHelper::OrganizationName = "ParaView";
std::string vtkInitializationHelper::ApplicationName = "ParaView";
std::string vtkInitializationHelper::ApplicationName = "GenericParaViewApplication";
//----------------------------------------------------------------------------
void vtkInitializationHelper::SetLoadSettingsFilesDuringInitialization(bool val)
......
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