Skip to content

Commit 7693690

Browse files
author
gaoxing
committed
add log
1 parent 6d0bb6d commit 7693690

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/pointcloudToLod/pointcloudToLod.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,13 @@ namespace seed
7878
// check output
7979
if (osgDB::makeDirectory(output) == false)
8080
{
81+
seed::log::DumpLog(seed::log::Critical, "Make directory %s failed!", output.c_str());
8182
return false;
8283
}
8384
std::string filePathData = output + "/Data";
8485
if (osgDB::makeDirectory(filePathData) == false)
8586
{
87+
seed::log::DumpLog(seed::log::Critical, "Make directory %s failed!", filePathData.c_str());
8688
return false;
8789
}
8890

@@ -103,6 +105,7 @@ namespace seed
103105
std::string tilePath = filePathData + "/" + tileName;
104106
if (osgDB::makeDirectory(tilePath) == false)
105107
{
108+
seed::log::DumpLog(seed::log::Critical, "Make directory %s failed!", tilePath.c_str());
106109
return false;
107110
}
108111

0 commit comments

Comments
 (0)