BUG: AC3D reader - corrected conversion of label to string for output message

This commit is contained in:
andy
2012-06-07 11:10:18 +01:00
parent 302c5ae759
commit 661e0e948a

View File

@ -174,7 +174,13 @@ bool triSurface::readAC(const fileName& ACfileName)
for (label patchI = 0; patchI < nPatches; patchI++)
{
readUpto("OBJECT", ACfile, args, " while reading patch " + patchI);
readUpto
(
"OBJECT",
ACfile,
args,
" while reading patch " + Foam::name(patchI)
);
// Object global values
string patchName = string("patch") + name(patchI);