mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 06:45:54 +08:00
Fix of #5888 - Pause Print M117 message not saved after reloading .3mf project
This commit is contained in:
parent
aa4c018cd5
commit
e7544ed0c4
@ -1239,7 +1239,8 @@ namespace Slic3r {
|
||||
|
||||
CustomGCode::Type type;
|
||||
std::string extra;
|
||||
if (tree.find("type") == tree.not_found()) {
|
||||
pt::ptree attr_tree = tree.find("<xmlattr>")->second;
|
||||
if (attr_tree.find("type") == attr_tree.not_found()) {
|
||||
// It means that data was saved in old version (2.2.0 and older) of PrusaSlicer
|
||||
// read old data ...
|
||||
std::string gcode = tree.get<std::string> ("<xmlattr>.gcode");
|
||||
|
Loading…
x
Reference in New Issue
Block a user