mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 10:25:54 +08:00
#268 disable Only One Perimeter on Top if 0 perimeters
This commit is contained in:
parent
8a5f7bcfd4
commit
87236c23a2
@ -317,7 +317,7 @@ void PerimeterGenerator::process()
|
|||||||
int loop_number = this->config->perimeters + surface.extra_perimeters - 1 + extra_odd_perimeter; // 0-indexed loops
|
int loop_number = this->config->perimeters + surface.extra_perimeters - 1 + extra_odd_perimeter; // 0-indexed loops
|
||||||
surface_idx++;
|
surface_idx++;
|
||||||
|
|
||||||
if (this->config->only_one_perimeter_top && this->upper_slices == NULL){
|
if (this->config->only_one_perimeter_top && loop_number > 0 && this->upper_slices == NULL){
|
||||||
loop_number = 0;
|
loop_number = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user