Only draw cm_patch/bot debug polygons in world scenes
Fixes debug polygons appearing in HUD head model scene.
This commit is contained in:
1 parent
96f94a2891
commit
9e502bda4d
2 files changed
+6
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user