Commit 71c79620 authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot
Browse files

Merge topic 'structured_grid_output'


 BUG #16091: vtkXMLStructuredDataWriter aborted if writing to a string
Acked-by: Kitware Robot's avatarKitware Robot <>
Reviewed-by: default avatarRobert Maynard <>
Reviewed-by: Cory Quammen's avatarCory Quammen <>
Merge-request: !1645
parents c969c879 68de13ae
......@@ -122,10 +122,11 @@ int vtkXMLStructuredDataWriter::ProcessRequest(
if (!this->Stream && !this->FileName)
if (!this->Stream && !this->FileName && !this->WriteToOutputString)
vtkErrorMacro("The FileName or Stream must be set first.");
vtkErrorMacro("The FileName or Stream must be set first or "
"the output must be written to a string.");
return 0;
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