Commit 99d62fbb authored by Andrew Bauer's avatar Andrew Bauer Committed by Dave DeMarle
Browse files

Get rid of warning when using VTK externally through Python.

When importing VTK through Python without running vtkpyython,
Python will already be initialized. This gives a warning for
that but it should be taken out. This commit gets rid of that
undesired warning.

Change-Id: Id1aaf661de25f0c688a34a3c6d747f30283deb24
parent 3074f6e1
......@@ -172,8 +172,6 @@ void vtkPythonInterpreter::SetProgramName(const char* programname)
if (vtkPythonInterpreter::InitializedOnce ||
Py_IsInitialized() != 0)
vtkGenericWarningMacro("Calling SetProgramName() after Python was "
"initialized once. This indicates a bug.");
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