mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fix of #5888 - Pause Print M117 message not saved after reloading .3mf project
This commit is contained in:
		
							parent
							
								
									aa4c018cd5
								
							
						
					
					
						commit
						e7544ed0c4
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue