Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't register a new layer if not extruding a line
We do retracts/unretracts on different heights sometimes, for instance after a pause. This would get seen as a new layer. It's quite safe to say that purely retracts and unretracts on a different height do not constitute a layer in a normal g-code file. There would be nothing to draw anyway. Contributes to issue CURA-8522. Fixes Ultimaker#10282.
- Loading branch information