mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-09 23:01:51 +00:00
Only draw cm_patch/bot debug polygons in world scenes
Fixes debug polygons appearing in HUD head model scene.
This commit is contained in:
parent
96f94a2891
commit
9e502bda4d
2 changed files with 6 additions and 0 deletions
|
@ -1332,6 +1332,9 @@ Visualization aid for movement clipping debugging
|
|||
====================
|
||||
*/
|
||||
void R_DebugGraphics( void ) {
|
||||
if ( tr.refdef.rdflags & RDF_NOWORLDMODEL ) {
|
||||
return;
|
||||
}
|
||||
if ( !r_debugSurface->integer ) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1715,6 +1715,9 @@ Visualization aid for movement clipping debugging
|
|||
====================
|
||||
*/
|
||||
void R_DebugGraphics( void ) {
|
||||
if ( tr.refdef.rdflags & RDF_NOWORLDMODEL ) {
|
||||
return;
|
||||
}
|
||||
if ( !r_debugSurface->integer ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue