mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-29 11:41:20 -06:00
Some GUI fixes after the recent contributions
This commit is contained in:
parent
6b31563b70
commit
e8c64924db
2 changed files with 12 additions and 8 deletions
|
|
@ -113,6 +113,7 @@ sub subdivide {
|
|||
$num_points++ if $len % $max_length;
|
||||
|
||||
# $num_points is the number of points to add between $i-1 and $i
|
||||
next if $num_points == -1;
|
||||
my $spacing = $len / ($num_points + 1);
|
||||
my @new_points = map Slic3r::Point->new($_),
|
||||
map Slic3r::Geometry::point_along_segment($self->[$i-1], $self->[$i], $spacing * $_),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue