Commit 90d5785e authored by Brian Wylie's avatar Brian Wylie
Browse files

ENH: Switching out the error where the labeller can't find the array to a...

ENH: Switching out the error where the labeller can't find the array to a warning with slighly more descriptive text.
parent d0b863fc
......@@ -49,7 +49,7 @@ using vtksys_ios::ofstream;
# define SNPRINTF snprintf
#endif
vtkCxxRevisionMacro(vtkDynamic2DLabelMapper, "1.5");
vtkCxxRevisionMacro(vtkDynamic2DLabelMapper, "1.6");
vtkStandardNewMacro(vtkDynamic2DLabelMapper);
//----------------------------------------------------------------------------
......@@ -227,7 +227,7 @@ void vtkDynamic2DLabelMapper::RenderOpaqueGeometry(vtkViewport *viewport,
}
else if ( !stringData )
{
vtkErrorMacro(<<"Need input data to render labels (3)");
vtkWarningMacro(<<"Could not find label array");
return;
}
......
Supports Markdown
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