mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Recent memory optimizations broke support material generation
This commit is contained in:
		
							parent
							
								
									fa4f2c8b97
								
							
						
					
					
						commit
						0bb487fe9f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -549,6 +549,7 @@ sub generate_support_material {
 | 
			
		|||
                        flow_spacing    => $params->{flow_spacing},
 | 
			
		||||
                    ), @paths;
 | 
			
		||||
            }
 | 
			
		||||
            $_->deserialize for @patterns;
 | 
			
		||||
            push @$support_patterns, [@patterns];
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			@ -566,7 +567,7 @@ sub generate_support_material {
 | 
			
		|||
            my ($layer_id, $expolygons) = @_;
 | 
			
		||||
            my @paths = ();
 | 
			
		||||
            foreach my $expolygon (@$expolygons) {
 | 
			
		||||
                push @paths, map $_->clip_with_expolygon($expolygon),
 | 
			
		||||
                push @paths, map { $_->deserialize; $_->clip_with_expolygon($expolygon) }
 | 
			
		||||
                    map $_->clip_with_polygon($expolygon->bounding_box_polygon),
 | 
			
		||||
                    @{$support_patterns->[ $layer_id % @$support_patterns ]};
 | 
			
		||||
            };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue