From a0aedcf0a6a03b65691f8c5dea9153ba5444b3db Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 14 Sep 2008 23:49:08 +0000 Subject: [PATCH] stencil debugging info cleanup git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2599 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/vertmodel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/vertmodel.h b/source/src/vertmodel.h index 4250ea48..6da7714e 100644 --- a/source/src/vertmodel.h +++ b/source/src/vertmodel.h @@ -5,7 +5,7 @@ VARP(saveshadows, 0, 1, 1); VAR(shadowyaw, 0, 45, 360); vec shadowdir(0, 0, -1), shadowpos(0, 0, 0); -VAR(dbgstenc, 0, 0, 1); +VAR(dbgstenc, 0, 0, 2); struct vertmodel : model { @@ -321,7 +321,7 @@ struct vertmodel : model } } - if(dbgstenc && stenciling==1) conoutf("%s: %d tris\n", owner->filename, (idx - d->idxs())/3); + if(dbgstenc >= (owner->numframes > 1 || as.anim&ANIM_DYNALLOC ? 2 : 1)) conoutf("%s: %d tris", owner->filename, (idx - d->idxs())/3); d->size = (uchar *)idx - (uchar *)d; return d;