fix bug when layer has not output
This commit is contained in:
parent
2105515697
commit
a8a08d8839
1 changed files with 1 additions and 1 deletions
|
|
@ -408,7 +408,7 @@
|
|||
layerout.appendAll(tmpout);
|
||||
lastOut = slice;
|
||||
lastExt = lastOut.ext
|
||||
if (layerRetract) {
|
||||
if (layerRetract && layerout.length) {
|
||||
layerout.last().retract = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue