mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Some GUI fixes after the recent contributions
This commit is contained in:
1 parent
6b31563b70
commit
e8c64924db
2 files changed
+12
-8
No files matched your search
@@ -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 * $_),
|
||||
|
||||
Reference in new issue
Block a user