mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 20:51:12 -06:00 
			
		
		
		
	Fix missing module inclusion preventing the recently introduced option from working
This commit is contained in:
		
							parent
							
								
									0c22250740
								
							
						
					
					
						commit
						873ea93832
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -1,8 +1,9 @@ | |||
| package Slic3r::GCode; | ||||
| use Moo; | ||||
| 
 | ||||
| use List::Util qw(first); | ||||
| use Slic3r::ExtrusionPath ':roles'; | ||||
| use Slic3r::Geometry qw(scale unscale); | ||||
| use Slic3r::Geometry qw(scale unscale points_coincide PI X Y); | ||||
| 
 | ||||
| has 'layer'              => (is => 'rw'); | ||||
| has 'shift_x'            => (is => 'rw', default => sub {0} ); | ||||
|  | @ -48,8 +49,6 @@ my %role_speeds = ( | |||
|     &EXTR_ROLE_SUPPORTMATERIAL              => 'perimeter', | ||||
| ); | ||||
| 
 | ||||
| use Slic3r::Geometry qw(points_coincide PI X Y); | ||||
| 
 | ||||
| sub extruder { | ||||
|     my $self = shift; | ||||
|     return $Slic3r::extruders->[$self->extruder_idx]; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci