mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	A few improvements to gcode placeholder tests.
This commit is contained in:
		
							parent
							
								
									97231327e0
								
							
						
					
					
						commit
						09357e5868
					
				
					 2 changed files with 7 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
use Test::More tests => 5;
 | 
			
		||||
use Test::More tests => 6;
 | 
			
		||||
use strict;
 | 
			
		||||
use warnings;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -40,6 +40,7 @@ use Slic3r::Test;
 | 
			
		|||
    # user sets a per-region option
 | 
			
		||||
    $print->print->objects->[0]->model_object->config->set('fill_density', 100);
 | 
			
		||||
    $print->print->reload_object(0);
 | 
			
		||||
    is $print->print->regions->[0]->config->fill_density, 100, 'region config inherits model object config';
 | 
			
		||||
    
 | 
			
		||||
    # user exports G-code, thus the default config is reapplied
 | 
			
		||||
    $print->print->apply_config($config);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue