From c91f5ea4c1c76d3afaf3472f8e2f4b5e20fedcd8 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Thu, 26 Oct 2023 22:18:54 +0200 Subject: [PATCH] don't show standard, non-animated grid points in debug vis --- BBGE/TileRender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BBGE/TileRender.cpp b/BBGE/TileRender.cpp index 102a20d..fc15152 100644 --- a/BBGE/TileRender.cpp +++ b/BBGE/TileRender.cpp @@ -181,7 +181,7 @@ void TileRender::onRender(const RenderState& rs) const rs.gpu.setBlend(BLEND_DEFAULT); - if(grid && RenderObject::renderCollisionShape) + if(grid != core->getDefaultQuadGrid() && RenderObject::renderCollisionShape) { grid->renderDebugPoints(rs); }