mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 02:10:53 +00:00
Added: #1092 Some extra log info.
This commit is contained in:
parent
cf560a4898
commit
8c10508b0f
1 changed files with 3 additions and 1 deletions
|
@ -2587,9 +2587,10 @@ bool CExportNel::calculateLM( CMesh::CMeshBuild *pZeMeshBuild, CMeshBase::CMeshB
|
||||||
string sLMName = sBaseName + NLMISC::toString(i) + ".tga";
|
string sLMName = sBaseName + NLMISC::toString(i) + ".tga";
|
||||||
if (CFile::fileExists(sLMName))
|
if (CFile::fileExists(sLMName))
|
||||||
{
|
{
|
||||||
|
nlinfo("DELETE %s", sLMName.c_str());
|
||||||
if (!CFile::deleteFile(sLMName))
|
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 );
|
COFile f( sSaveName );
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
nlinfo("SAVE %s", sSaveName.c_str());
|
||||||
if (lmcEnabled)
|
if (lmcEnabled)
|
||||||
{
|
{
|
||||||
// In fact the output is 32 bits because we need the alpha channel
|
// In fact the output is 32 bits because we need the alpha channel
|
||||||
|
|
Loading…
Reference in a new issue