mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Temporary, or maybe not so temporary fix to handle empty
post processing scripts.
This commit is contained in:
		
							parent
							
								
									bd113ea882
								
							
						
					
					
						commit
						8add843ee8
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -88,6 +88,8 @@ sub export_gcode { | |||
|         $self->status_cb->(95, "Running post-processing scripts"); | ||||
|         $self->config->setenv; | ||||
|         for my $script (@{$self->config->post_process}) { | ||||
|             # Ignore empty post processing script lines. | ||||
|             next if $script =~ /^\s*$/; | ||||
|             Slic3r::debugf "  '%s' '%s'\n", $script, $output_file; | ||||
|             # -x doesn't return true on Windows except for .exe files | ||||
|             if (($^O eq 'MSWin32') ? !(-e $script) : !(-x $script)) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv