-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
let config = TexturePackerConfig {
max_width: 2048,
max_height: 2048,
allow_rotation: false,
texture_outlines: false,
border_padding: 0,
texture_extrusion: 0,
texture_padding: 0,
trim: true,
};
let mut packer = MultiTexturePacker::new_skyline(config);
thread 'main' panicked at 'assertion failed: i < self.skylines.len()', src/packer/skyline_packer.rs:61:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
https://github.com/PistonDevelopers/texture_packer/blob/master/src/packer/skyline_packer.rs#L60
I tried to pack 80k , 32x32 px images but it crashed in this line. If trim is off then it wont crash, otherwise it hits this assert. If I remove it I run into another error on the line above:
thread 'main' panicked at 'index out of bounds: the len is 130 but the index is 130', src/packer/skyline_packer.rs:51:34
Bauxitedev and trevex
Metadata
Metadata
Assignees
Labels
No labels