From eba83e15b00820950ca5ce3d883ef7f66b261403 Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 10 Nov 2009 13:17:03 +0000 Subject: [PATCH] no quotes around field name --- src/sampling/sampledSurface/writers/vtk/vtkSurfaceWriter.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sampling/sampledSurface/writers/vtk/vtkSurfaceWriter.C b/src/sampling/sampledSurface/writers/vtk/vtkSurfaceWriter.C index ff4766a3..d8c3d03e 100644 --- a/src/sampling/sampledSurface/writers/vtk/vtkSurfaceWriter.C +++ b/src/sampling/sampledSurface/writers/vtk/vtkSurfaceWriter.C @@ -300,7 +300,7 @@ void Foam::vtkSurfaceWriter::write os << values.size() << nl << "FIELD attributes 1" << nl - << fieldName << " "; + << fieldName.c_str() << " "; // Write data writeData(os, values); -- 2.11.4.GIT