From 0576749de04f6be60bbb72ad475585289f5b1db8 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Wed, 27 Jul 2022 14:30:30 +0200 Subject: [PATCH] Use transparent area color for polymesh debug draw --- r5dev/thirdparty/recast/DebugUtils/Source/RecastDebugDraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/thirdparty/recast/DebugUtils/Source/RecastDebugDraw.cpp b/r5dev/thirdparty/recast/DebugUtils/Source/RecastDebugDraw.cpp index 174907a1..9123be81 100644 --- a/r5dev/thirdparty/recast/DebugUtils/Source/RecastDebugDraw.cpp +++ b/r5dev/thirdparty/recast/DebugUtils/Source/RecastDebugDraw.cpp @@ -658,7 +658,7 @@ void duDebugDrawPolyMesh(duDebugDraw* dd, const struct rcPolyMesh& mesh) else if (area == RC_NULL_AREA) color = duRGBA(0,0,0,64); else - color = dd->areaToCol(area); + color = duTransCol(dd->areaToCol(area), 64); unsigned short vi[3]; for (int j = 2; j < nvp; ++j)