mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	Don't wipe if option is disabled
This commit is contained in:
		
							parent
							
								
									d089d2b2d4
								
							
						
					
					
						commit
						88e70a59c7
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -248,7 +248,7 @@ sub extrude_path { | |||
|             $gcode .= $self->G1($line->[B], undef, $e * $line_length, $description); | ||||
|         } | ||||
|         $self->wipe_path(Slic3r::Polyline->new([ reverse @{$path->points} ])) | ||||
|             if $Slic3r::Config->wipe; | ||||
|             if $self->extruder->wipe; | ||||
|     } | ||||
|      | ||||
|     if ($Slic3r::Config->cooling) { | ||||
|  | @ -358,7 +358,7 @@ sub retract { | |||
|      | ||||
|     # wipe | ||||
|     my $wipe_path; | ||||
|     if ($Slic3r::Config->wipe && $self->wipe_path) { | ||||
|     if ($self->extruder->wipe && $self->wipe_path) { | ||||
|         $wipe_path = Slic3r::Polyline->new([ $self->last_pos, @{$self->wipe_path}[1..$#{$self->wipe_path}] ]) | ||||
|             ->clip_start($self->extruder->scaled_wipe_distance); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci