From 0a49f3efc75ba53d6168273bd0052587b492dc01 Mon Sep 17 00:00:00 2001 From: Andrew Heather Date: Thu, 1 Jun 2017 12:55:23 +0100 Subject: [PATCH] ENH: writeOBJ faces - use face instead of lines --- src/meshTools/meshTools/meshToolsTemplates.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshTools/meshTools/meshToolsTemplates.C b/src/meshTools/meshTools/meshToolsTemplates.C index 51d7e328ec..17dc152a45 100644 --- a/src/meshTools/meshTools/meshToolsTemplates.C +++ b/src/meshTools/meshTools/meshToolsTemplates.C @@ -49,7 +49,7 @@ void Foam::meshTools::writeOBJ } } - os << 'l'; + os << 'f'; forAll(f, fp) { os << ' ' << foamToObj[f[fp]]+1;