mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
update for rectangle-pack 0.2.1 (fix CI) (#1741)
crate `rectangle-pack` just published version 0.2.1 with a breaking change: c9ecd58f7a
I also opened an issue on their repo so that they are aware of it: https://github.com/chinedufn/rectangle-pack/issues/3
This commit is contained in:
parent
47004dfcb4
commit
9ae56e8604
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ impl TextureAtlasBuilder {
|
|||
target_bins.insert(0, TargetBin::new(current_width, current_height, 1));
|
||||
rect_placements = match pack_rects(
|
||||
&self.rects_to_place,
|
||||
target_bins,
|
||||
&mut target_bins,
|
||||
&volume_heuristic,
|
||||
&contains_smallest_box,
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue