From 2c5659164bdbd7e8cc02b28856c02e7541b400ea Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 1 Nov 2024 13:28:58 +0100 Subject: [PATCH] Recast: improve rendering of poly edges on dead polygons --- src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp b/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp index 1f3e2acc..d08156e7 100644 --- a/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp +++ b/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp @@ -173,7 +173,7 @@ static void drawPolyBoundaries(duDebugDraw* dd, const dtMeshTile* tile, c = isLinked ? duRGBA(255,0,0,255) : duRGBA(0,0,255,255); } else - c = duRGBA(0,48,64,32); + c = isLinked ? duRGBA(0,48,64,32) : duRGBA(24,48,0,32); } else {