From ff963f321eb30156c5811fa9052984f0a8737003 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 5 Jun 2010 00:46:57 +0200 Subject: [PATCH] Changed: Use nlinfo instead of printf in build_coarse_mesh tool so build output is logged. --- .../tools/3d/build_coarse_mesh/build_coarse_mesh.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/nel/tools/3d/build_coarse_mesh/build_coarse_mesh.cpp b/code/nel/tools/3d/build_coarse_mesh/build_coarse_mesh.cpp index 3d58a0cac..236c2727e 100644 --- a/code/nel/tools/3d/build_coarse_mesh/build_coarse_mesh.cpp +++ b/code/nel/tools/3d/build_coarse_mesh/build_coarse_mesh.cpp @@ -50,7 +50,7 @@ int main(int argc, char* argv[]) if (argc!=2) { // Doc.. - printf("build_coarse_mesh [config_file.cfg]\n"); + nlinfo("build_coarse_mesh [config_file.cfg]\n"); } else { @@ -104,7 +104,7 @@ int main(int argc, char* argv[]) std::string outputPath=list_mesh.asString (i*2+1); // Output - printf ("Loading %s...\n", intputPath.c_str()); + nlinfo ("Loading %s...\n", intputPath.c_str()); // File CIFile inputFile; @@ -185,7 +185,7 @@ int main(int argc, char* argv[]) if (coarseMeshes.size()>0) { // Output text - printf ("Compute the coarse meshes...\n"); + nlinfo ("Compute the coarse meshes...\n"); // A bitmap vector coarseBitmap; @@ -200,7 +200,7 @@ int main(int argc, char* argv[]) for (i=0; i