From d29aa4c80953e9751c94b9eb6caba5d86360ac84 Mon Sep 17 00:00:00 2001 From: Cekis Date: Mon, 7 Dec 2015 23:02:05 +0100 Subject: [PATCH] Fixed issue with appearance templates (again) --- .../src/shared/appearance/AppearanceTemplateList.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp b/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp index 8661b1b2..c777ae37 100755 --- a/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp +++ b/engine/shared/library/sharedObject/src/shared/appearance/AppearanceTemplateList.cpp @@ -404,12 +404,6 @@ Appearance *AppearanceTemplateList::createAppearance(const char *const fileName) //-- creating the appearance will increment the reference count Appearance *const appearance = appearanceTemplate->createAppearance(); - // Return if we can't find the appearance file - if (appearanceTemplate == NULL) { - return NULL; - } - - #ifdef _DEBUG DataLint::popAsset(); #endif // _DEBUG