diff --git a/.gitignore b/.gitignore index cdf6a81..844dbcc 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ *.orig *.mlpd *.vspx +*.diagsession TestResult.xml obj/ .vscode/ diff --git a/LibTessDotNet/Sources/Tess.cs b/LibTessDotNet/Sources/Tess.cs index ab5034a..0b613ca 100644 --- a/LibTessDotNet/Sources/Tess.cs +++ b/LibTessDotNet/Sources/Tess.cs @@ -722,7 +722,8 @@ public void Tessellate(WindingRule windingRule, ElementType elementType, int pol OutputPolymesh(elementType, polySize); } - _mesh.Free(); + // Pooling disabled, performance is worse with pooling + //_mesh.Free(); _mesh = null; } }