Update leenkx/Sources/leenkx/trait/physics/bullet/DebugDrawHelper.hx
This commit is contained in:
parent
62e52a7316
commit
d69e3438ff
@ -150,7 +150,7 @@ class DebugDrawHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onRender(g: kha.graphics2.Graphics) {
|
function onRender(g: kha.graphics2.Graphics) {
|
||||||
if (getDebugMode() == NoDebug) {
|
if (getDebugMode() == NoDebug && !physicsWorld.drawRaycasts) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user