mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	FIX: fix blank error msg of slicing warning
Change-Id: Idca57158b0139411a775a6b83cce2200694a5f2d Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
		
							parent
							
								
									746d678df5
								
							
						
					
					
						commit
						eb11c364e5
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -1985,6 +1985,12 @@ void SelectMachineDialog::on_ok_btn(wxCommandEvent &event)
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        else {
 | 
					        else {
 | 
				
			||||||
 | 
					            wxString error_info = Plater::get_slice_warning_string(warning);
 | 
				
			||||||
 | 
					            if (error_info.IsEmpty()) {
 | 
				
			||||||
 | 
					                error_info = wxString::Format("%s\n", warning.msg);
 | 
				
			||||||
 | 
					                confirm_text.push_back(error_info + "\n");
 | 
				
			||||||
 | 
					            } else
 | 
				
			||||||
 | 
					                confirm_text.push_back(error_info + "\n");
 | 
				
			||||||
            has_slice_warnings = true;
 | 
					            has_slice_warnings = true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue