From a92f3832f418fdfdb7cb10dc3730591e270ef080 Mon Sep 17 00:00:00 2001 From: divverent Date: Thu, 11 Oct 2007 14:06:13 +0000 Subject: [PATCH] only print the "missing texture for missing shader" message for developer or Q3BSP (as other formats contain their own textures, and don't NEED the actual texture file) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7627 d7cf8633-e32d-0410-b094-e92efae38249 --- model_shared.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/model_shared.c b/model_shared.c index c00ad082..0c0ccbf8 100644 --- a/model_shared.c +++ b/model_shared.c @@ -1748,7 +1748,8 @@ nothing GL_ZERO GL_ONE texture->basematerialflags |= MATERIALFLAG_WALL; texture->numskinframes = 1; if (!(texture->skinframes[0] = R_SkinFrame_LoadExternal(texture->name, TEXF_MIPMAP | TEXF_ALPHA | TEXF_PRECACHE | (r_picmipworld.integer ? TEXF_PICMIP : 0) | TEXF_COMPRESS, false))) - Con_Printf("^4%s:^7 could not load texture for missing shader ^3\"%s\"\n", loadmodel->name, texture->name); + if(developer.integer || loadmodel->type == mod_brushq3) + Con_Printf("^4%s:^7 could not load texture for missing shader ^3\"%s\"\n", loadmodel->name, texture->name); } // init the animation variables texture->currentframe = texture; -- 2.39.2