mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Ported some methods to XS
This commit is contained in:
		
							parent
							
								
									1813a309a7
								
							
						
					
					
						commit
						380dd8adfc
					
				
					 13 changed files with 176 additions and 93 deletions
				
			
		|  | @ -135,7 +135,7 @@ sub process_layer { | |||
|         } | ||||
|          | ||||
|         # tweak region ordering to save toolchanges | ||||
|         my @region_ids = 0 .. ($self->print->regions_count-1); | ||||
|         my @region_ids = 0 .. ($self->print->region_count-1); | ||||
|         if ($self->gcodegen->multiple_extruders) { | ||||
|             my $last_extruder = $self->gcodegen->extruder; | ||||
|             my $best_region_id = first { $self->print->regions->[$_]->config->perimeter_extruder-1 eq $last_extruder } @region_ids; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci