mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	FIX: add filament type for flow rate slice info
Change-Id: I21cee225cc4349774216eda730ba086bf3697b00
This commit is contained in:
		
							parent
							
								
									031a678ea0
								
							
						
					
					
						commit
						f03d28c13b
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -157,7 +157,7 @@ bool CalibrationWizard::save_preset(const std::string &old_preset_name, const st
 | 
			
		|||
    PresetCollection *filament_presets = &wxGetApp().preset_bundle->filaments;
 | 
			
		||||
    Preset* preset = filament_presets->find_preset(old_preset_name);
 | 
			
		||||
    if (!preset) {
 | 
			
		||||
        message = L("The selected preset has been deleted.");
 | 
			
		||||
        message = (boost::format(L("The selected preset: %1% is not found.")) % old_preset_name).str();
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -805,7 +805,8 @@ void CalibUtils::process_and_store_3mf(Model* model, const DynamicPrintConfig& f
 | 
			
		|||
    for (auto plate_data : plate_data_list) {
 | 
			
		||||
        plate_data->gcode_file      = temp_gcode_path;
 | 
			
		||||
        plate_data->is_sliced_valid = true;
 | 
			
		||||
        plate_data->slice_filaments_info;
 | 
			
		||||
        FilamentInfo& filament_info = plate_data->slice_filaments_info.front();
 | 
			
		||||
        filament_info.type          = full_config.opt_string("filament_type", 0);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    //draw thumbnails
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue