Commit 0db9f5f9 authored by Cory Quammen's avatar Cory Quammen

Python tracing: add reminder to uncomment ViewSize line

parent 0df2d3e4
......@@ -162,7 +162,11 @@ vtkSMTrace* vtkSMTrace::StartTrace(const char* preamble)
{
vtkPythonScopeGilEnsurer gilEnsurer;
std::ostringstream str;
str << "# trace generated using " << vtkSMProxyManager::GetParaViewSourceVersion() << "\n";
str << "# trace generated using " << vtkSMProxyManager::GetParaViewSourceVersion() << "\n"
<< "#"
<< "\n"
<< "# To ensure correct image size when batch processing, please search \n"
<< "# for and uncomment the line `# renderView*.ViewSize = [*,*]`\n";
vtkSmartPyObject _start_trace_internal(PyObject_CallMethod(
vtkSMTrace::ActiveTracer->GetTraceModule(), const_cast<char*>("_start_trace_internal"),
const_cast<char*>("(s)"), const_cast<char*>(preamble ? preamble : str.str().c_str())));
......
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