Updates will be applied April 15th at 12pm EDT (UTC-0400). GitLab could be a little slow between 12 - 12:45pm EDT.

Commit c916b689 authored by Cory Quammen's avatar Cory Quammen

Convert some warnings to vtkLog INFO messages

These warnings are for input state that does not affect the
correctness of the filter output, so convert them to vtkLog
informational messages.
parent 21d219c5
......@@ -43,6 +43,7 @@
#include "vtkStreamingDemandDrivenPipeline.h"
#include "vtkSMPTools.h"
#include "vtkSMPThreadLocalObject.h"
#include "vtkLogger.h"
#include <set>
#include <map>
......@@ -1944,7 +1945,7 @@ RequestData(vtkInformation*, vtkInformationVector** inputVector,
int numContours = this->ContourValues->GetNumberOfContours();
if ( numContours < 1 )
{
vtkWarningMacro(<<"No contour values defined");
vtkLog(TRACE, "No contour values defined");
return 1;
}
......@@ -1957,7 +1958,7 @@ RequestData(vtkInformation*, vtkInformationVector** inputVector,
inScalars = this->GetInputArrayToProcess(0, inputVector);
if (!inScalars)
{
vtkWarningMacro(<<"No scalars available");
vtkLog(TRACE, "No scalars available");
return 1;
}
// Use provided scalar tree if not a composite data set input.
......@@ -1987,7 +1988,7 @@ RequestData(vtkInformation*, vtkInformationVector** inputVector,
inScalars = this->GetInputArrayToProcess(0,grid,association);
if (!inScalars)
{
vtkWarningMacro(<<"No scalars available");
vtkLog(TRACE, "No scalars available");
continue;
}
polydata = vtkPolyData::New();
......
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