From 5ddd8be10477773877627e011f74efab0fcfe5ed Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 20 Sep 2011 18:11:51 +0200 Subject: [PATCH] Added: #1092 Some extra log info. --- code/nel/tools/3d/plugin_max/nel_mesh_lib/calc_lm.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/nel/tools/3d/plugin_max/nel_mesh_lib/calc_lm.cpp b/code/nel/tools/3d/plugin_max/nel_mesh_lib/calc_lm.cpp index 03326cf44..e4bc7006a 100644 --- a/code/nel/tools/3d/plugin_max/nel_mesh_lib/calc_lm.cpp +++ b/code/nel/tools/3d/plugin_max/nel_mesh_lib/calc_lm.cpp @@ -2587,9 +2587,10 @@ bool CExportNel::calculateLM( CMesh::CMeshBuild *pZeMeshBuild, CMeshBase::CMeshB string sLMName = sBaseName + NLMISC::toString(i) + ".tga"; if (CFile::fileExists(sLMName)) { + nlinfo("DELETE %s", sLMName.c_str()); if (!CFile::deleteFile(sLMName)) { - nlwarning("Failed to delete file %s.", sLMName.c_str()); + nlwarning("Failed to delete file %s", sLMName.c_str()); } } } @@ -2608,6 +2609,7 @@ bool CExportNel::calculateLM( CMesh::CMeshBuild *pZeMeshBuild, CMeshBase::CMeshB COFile f( sSaveName ); try { + nlinfo("SAVE %s", sSaveName.c_str()); if (lmcEnabled) { // In fact the output is 32 bits because we need the alpha channel