Minor fix about raft and support after previous commit
This commit is contained in:
parent
9f41f0279e
commit
6bb425e88d
@ -65,7 +65,7 @@ sub BUILD {
|
|||||||
print_z => $print_z,
|
print_z => $print_z,
|
||||||
slice_z => scale $slice_z,
|
slice_z => scale $slice_z,
|
||||||
);
|
);
|
||||||
if ($id > 0) {
|
if (@{$self->layers} >= 2) {
|
||||||
$self->layers->[-2]->upper_layer($self->layers->[-1]);
|
$self->layers->[-2]->upper_layer($self->layers->[-1]);
|
||||||
}
|
}
|
||||||
$id++;
|
$id++;
|
||||||
|
Loading…
Reference in New Issue
Block a user