File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,13 @@ namespace seed
7878// check output
7979if (osgDB::makeDirectory (output) == false )
8080{
81+ seed::log::DumpLog (seed::log::Critical, " Make directory %s failed!" , output.c_str ());
8182return false ;
8283}
8384std::string filePathData = output + " /Data" ;
8485if (osgDB::makeDirectory (filePathData) == false )
8586{
87+ seed::log::DumpLog (seed::log::Critical, " Make directory %s failed!" , filePathData.c_str ());
8688return false ;
8789}
8890
@@ -103,6 +105,7 @@ namespace seed
103105std::string tilePath = filePathData + " /" + tileName;
104106if (osgDB::makeDirectory (tilePath) == false )
105107{
108+ seed::log::DumpLog (seed::log::Critical, " Make directory %s failed!" , tilePath.c_str ());
106109return false ;
107110}
108111
You can’t perform that action at this time.
0 commit comments