mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-27 23:59:37 -05:00
1 parent
9671cdfc68
commit
7f12c18a4a
7 files changed
+36
-20
No files matched your search
@@ -1308,7 +1308,7 @@ void ConfigBase::save_to_json(const std::string &file, const std::string &name,
|
||||
{
|
||||
const ConfigOption* opt = this->option(opt_key);
|
||||
if ( opt->is_scalar() ) {
|
||||
if (opt->type() == coString)
|
||||
if (opt->type() == coString && (opt_key != "bed_custom_texture" && opt_key != "bed_custom_model"))
|
||||
//keep \n, \r, \t
|
||||
j[opt_key] = (dynamic_cast<const ConfigOptionString *>(opt))->value;
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user