trying to confine the debug output to debug builds...i think @cekis has the armor ones hard coded...wonder if we can make dynamic or toggle off somehow

This commit is contained in:
DarthArgus
2016-01-10 16:40:49 -06:00
parent 79a000a151
commit 45c48efbfc
@@ -399,12 +399,12 @@ Appearance *AppearanceTemplateList::createAppearance(const char *const fileName)
//-- get the appearance template
const AppearanceTemplate *const appearanceTemplate = fetch(fileName);
#ifdef _DEBUG
if (appearanceTemplate == NULL){
DEBUG_WARNING(true, ("FIX ME: Appearance template for %s could not be fetched - is it missing?", fileName));
return NULL; // Cekis: TODO: Figure out why the template can't be fetched.
}
#ifdef _DEBUG
DataLint::pushAsset(fileName);
#endif