From 66925d9b541a88c2583f2c78753b54299b6023b1 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Tue, 12 Jan 2016 21:57:16 -0600 Subject: [PATCH] correction --- .../src/shared/appearance/AppearanceTemplateList.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp b/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp index ca474ac4..37439f23 100755 --- a/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp +++ b/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp @@ -399,15 +399,16 @@ Appearance *AppearanceTemplateList::createAppearance(const char *const fileName) //-- get the appearance template const AppearanceTemplate *const appearanceTemplate = fetch(fileName); -#ifdef _DEBUG //probably should modify the macro sometime to just be quiet if this isn't defined +#ifdef _DEBUG + DataLint::pushAsset(fileName); +#endif + + //probably should modify the macro sometime to just be quiet if this isn't defined 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. DarthArgus: always is due to a missing file or one of the redirectors having a bad path } - DataLint::pushAsset(fileName); -#endif - //-- creating the appearance will increment the reference count Appearance *const appearance = appearanceTemplate->createAppearance();