mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Call print->config before print->expanded_output_filepath. #573
This commit is contained in:
		
							parent
							
								
									65d6eb551a
								
							
						
					
					
						commit
						d1b8f37dda
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -469,6 +469,9 @@ sub export_gcode {
 | 
			
		|||
        return;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    # set this before spawning the thread because ->config needs GetParent and it's not available there
 | 
			
		||||
    $self->{print}->config($self->skeinpanel->config);
 | 
			
		||||
    
 | 
			
		||||
    # select output file
 | 
			
		||||
    $self->{output_file} = $main::opt{output};
 | 
			
		||||
    {
 | 
			
		||||
| 
						 | 
				
			
			@ -484,7 +487,6 @@ sub export_gcode {
 | 
			
		|||
    }
 | 
			
		||||
    
 | 
			
		||||
    $self->statusbar->StartBusy;
 | 
			
		||||
    $self->{print}->config($self->skeinpanel->config);  # set this before spawning the thread because ->config needs GetParent and it's not available there
 | 
			
		||||
    if ($Slic3r::have_threads) {
 | 
			
		||||
        $self->{export_thread} = threads->create(sub {
 | 
			
		||||
            $self->export_gcode2(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue