mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
parent
9671cdfc68
commit
7f12c18a4a
7 changed files with 36 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue