From 20bcb60be4610f0acb0b0479d630876b886c704d Mon Sep 17 00:00:00 2001 From: mifth Date: Thu, 7 Nov 2024 11:02:29 +0100 Subject: [PATCH] Fixes of little patches which look like UV artifacts. --- source/xatlas/xatlas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/xatlas/xatlas.cpp b/source/xatlas/xatlas.cpp index 5c5c57e..cc517ed 100644 --- a/source/xatlas/xatlas.cpp +++ b/source/xatlas/xatlas.cpp @@ -6771,11 +6771,11 @@ struct PiecewiseParam } XA_DEBUG_ASSERT(freeVertex != UINT32_MAX); if (m_vertexInPatch.get(freeVertex)) { -#if 0 +// #if 0 // If the free vertex is already in the patch, the face is enclosed by the patch. Add the face to the patch - don't need to assign texcoords. freeVertex = UINT32_MAX; addFaceToPatch(oface); -#endif +// #endif continue; } // Check this here rather than above so faces enclosed by the patch are always added.