Merge branch 'main' into belt/baseChanges

This commit is contained in:
SoftFever
2026-04-17 15:44:03 +08:00
committed by GitHub
10180 changed files with 1873143 additions and 1865132 deletions
+2 -2
View File
@@ -4671,7 +4671,7 @@ int Print::export_cached_data(const std::string& directory, bool with_space)
/*boost::nowide::ofstream c;
c.open(file_name, std::ios::out | std::ios::trunc);
if (with_space)
c << std::setw(4) << root_json << std::endl;
c << root_json.dump(1, '\t') << std::endl;
else
c << root_json.dump(0) << std::endl;
c.close();*/
@@ -4693,7 +4693,7 @@ int Print::export_cached_data(const std::string& directory, bool with_space)
boost::nowide::ofstream c;
c.open(filename_vector[object_index], std::ios::out | std::ios::trunc);
if (with_space)
c << std::setw(4) << json_vector[object_index] << std::endl;
c << json_vector[object_index].dump(1, '\t') << std::endl;
else
c << json_vector[object_index].dump(0) << std::endl;
c.close();