Commit 0c16e1c7 authored by Ken Martin's avatar Ken Martin
Browse files

fixed error

parent b90e0da4
......@@ -59,10 +59,8 @@ void vtkSTLWriter::WriteData()
return;
}
this->StartWrite(this->StartWriteArg);
if ( this->WriteMode == STL_BINARY ) this->WriteBinarySTL(pts,polys);
else this->WriteAsciiSTL(pts,polys);
this->EndWrite(this->EndWriteArg);
}
static char header[]="Visualization Toolkit generated SLA File ";
......
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