Commit 09995e3
Fix lightmaps freeing the wrong slab on removal. (#21564)
# Objective
- Fixes #21551.
- Fixes #20688.
## Solution
- Insert slab_index instead of slot_index into free_slabs.
## Testing
Ran the repro in #20688 and it works!1 parent 6abcace commit 09995e3
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
420 | 424 | | |
421 | 425 | | |
422 | 426 | | |
| |||
0 commit comments