mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Two fixes for --debug
This commit is contained in:
		
							parent
							
								
									25a358cd20
								
							
						
					
					
						commit
						37ecc61d06
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -686,7 +686,7 @@ sub detect_surfaces_type {
 | 
			
		|||
            # as bottom surfaces (to allow for bridge detection)
 | 
			
		||||
            if (@top && @bottom) {
 | 
			
		||||
                my $overlapping = intersection_ex([ map $_->p, @top ], [ map $_->p, @bottom ]);
 | 
			
		||||
                Slic3r::debugf "  layer %d contains %d membrane(s)\n", $layerm->id, scalar(@$overlapping)
 | 
			
		||||
                Slic3r::debugf "  layer %d contains %d membrane(s)\n", $layerm->layer->id, scalar(@$overlapping)
 | 
			
		||||
                    if $Slic3r::debug;
 | 
			
		||||
                @top = $difference->([map $_->expolygon, @top], $overlapping, S_TYPE_TOP);
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			@ -703,7 +703,7 @@ sub detect_surfaces_type {
 | 
			
		|||
            $layerm->slices->append($_) for (@bottom, @top, @internal);
 | 
			
		||||
            
 | 
			
		||||
            Slic3r::debugf "  layer %d has %d bottom, %d top and %d internal surfaces\n",
 | 
			
		||||
                $layerm->id, scalar(@bottom), scalar(@top), scalar(@internal) if $Slic3r::debug;
 | 
			
		||||
                $layerm->layer->id, scalar(@bottom), scalar(@top), scalar(@internal) if $Slic3r::debug;
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        # clip surfaces to the fill boundaries
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue