From 45c48efbfce1f71c788f2ce1632b1cde89d0f8e4 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sun, 10 Jan 2016 16:40:49 -0600 Subject: [PATCH] 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 --- .../src/shared/appearance/AppearanceTemplateList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp b/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp index 5406ebec..abf1a9eb 100755 --- a/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp +++ b/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp @@ -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