Fixed issue with appearance templates (again)

This commit is contained in:
Cekis
2015-12-07 23:02:05 +01:00
parent 0dcb874822
commit d29aa4c809
@@ -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