mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators
This commit is contained in:
		
						commit
						7a6d83e7eb
					
				
					 10 changed files with 133 additions and 31 deletions
				
			
		| 
						 | 
				
			
			@ -1375,6 +1375,8 @@ sub export_gcode {
 | 
			
		|||
    };
 | 
			
		||||
    Slic3r::GUI::catch_error($self) and return;
 | 
			
		||||
    
 | 
			
		||||
    # Copy the names of active presets into the placeholder parser.
 | 
			
		||||
    wxTheApp->{preset_bundle}->export_selections_pp($self->{print}->placeholder_parser);
 | 
			
		||||
    # select output file
 | 
			
		||||
    if ($output_file) {
 | 
			
		||||
        $self->{export_gcode_output_file} = eval { $self->{print}->output_filepath($output_file) };
 | 
			
		||||
| 
						 | 
				
			
			@ -1666,6 +1668,8 @@ sub _get_export_file {
 | 
			
		|||
        $suffix = '.3mf';
 | 
			
		||||
        $wildcard = 'threemf';
 | 
			
		||||
    }
 | 
			
		||||
    # Copy the names of active presets into the placeholder parser.
 | 
			
		||||
    wxTheApp->{preset_bundle}->export_selections_pp($self->{print}->placeholder_parser);
 | 
			
		||||
    my $output_file = eval { $self->{print}->output_filepath($main::opt{output} // '') };
 | 
			
		||||
    Slic3r::GUI::catch_error($self) and return undef;
 | 
			
		||||
    $output_file =~ s/\.[gG][cC][oO][dD][eE]$/$suffix/;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue