mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-14 03:11:19 +00:00
Merge branch 'main' into belt/baseChanges
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user