Skip to content
Snippets Groups Projects
Commit 82808661 authored by Dan Lipsa's avatar Dan Lipsa Committed by Kitware Robot
Browse files

Merge topic 'TestRIBExporter'


96baf8e8 BUG: Get rid of error printouts from TestRIBExporter

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: default avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !371
parents 3c2489d7 96baf8e8
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,8 @@ vtkTIFFWriter::vtkTIFFWriter()
//----------------------------------------------------------------------------
void vtkTIFFWriter::Write()
{
// make sure the latest input is available.
this->Update();
this->SetErrorCode(vtkErrorCode::NoError);
// Error checking
if (this->GetInput() == NULL)
......
......@@ -212,6 +212,12 @@ protected:
vtkTexture();
~vtkTexture();
// A texture is a sink, so there is no need to do anything.
// This definition avoids a warning when doing Update() on a vtkTexture object.
virtual void ExecuteData(vtkDataObject *)
{
}
int Repeat;
int EdgeClamp;
int Interpolate;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment