mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Fix bad deserialization of extruder_offset = 0x0
This commit is contained in:
parent
7a58457add
commit
4c6f9703df
3 changed files with 33 additions and 8 deletions
|
@ -22,7 +22,8 @@ ConfigBase::apply(const ConfigBase &other, bool ignore_nonexistent) {
|
|||
}
|
||||
|
||||
// not the most efficient way, but easier than casting pointers to subclasses
|
||||
my_opt->deserialize( other.option(*it)->serialize() );
|
||||
bool res = my_opt->deserialize( other.option(*it)->serialize() );
|
||||
if (!res) CONFESS("Unexpected failure when deserializing serialized value");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue