Skip to content

Commit

Permalink
ctb: Enable per-layer timing flag for CTB v3
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrec committed Jan 24, 2021
1 parent 2d16ea7 commit 4559007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctb/format.go
Expand Up @@ -405,7 +405,7 @@ func (cf *Formatter) Encode(writer uv3dp.Writer, printable uv3dp.Printable) (err
slicer.TimeSeconds = 0x12345678
slicer.EncryptionMode = 0x7 // Magic!
if cf.Version > 2 {
slicer.EncryptionMode = 0xf // Magic!
slicer.EncryptionMode = 0x2000000F // Magic! - Per layer timings support
}
slicer.ChiTuBoxVersion[0] = 0 // Magic!
slicer.ChiTuBoxVersion[1] = 0
Expand Down

0 comments on commit 4559007

Please sign in to comment.