hide self skeleton debug rendering in first person

This commit is contained in:
Astazium 2026-07-17 12:55:27 +03:00
parent 73229e34fc
commit ecedc3c436
3 changed files with 9 additions and 5 deletions

View file

@ -275,7 +275,8 @@ void WorldRenderer::renderLines(
auto ctx = pctx.sub(lineBatch.get());
bool culling = engine.getSettings().graphics.frustumCulling.get();
level.entities->renderDebug(
*lineBatch, culling ? frustumCulling.get() : nullptr, ctx
*lineBatch, culling ? frustumCulling.get() : nullptr, ctx,
player.currentCamera.get() == player.fpCamera.get() ? player.getEntity() : 0
);
}
}