mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
test commit to fix debug draw
pass all draws through duDebugDraw instead of calling our class directly.
This commit is contained in:
parent
81504fb089
commit
26ebdd093b
6 changed files with 172 additions and 293 deletions
|
|
@ -640,9 +640,7 @@ void NavPath::renderSimple(ObjectRenderInst *ri, SceneRenderState *state, BaseMa
|
|||
if(np->mQuery && !dtStatusSucceed(np->mStatus))
|
||||
{
|
||||
duDebugDrawTorque dd;
|
||||
dd.overrideColor(duRGBA(250, 20, 20, 255));
|
||||
duDebugDrawNavMeshNodes(&dd, *np->mQuery);
|
||||
dd.render();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue