fix diva slider lights byte order

This commit is contained in:
4yn
2022-02-23 00:34:34 +08:00
parent 35da7d4874
commit dedc8cace4

View File

@@ -318,9 +318,9 @@ impl ThreadJob for DivaSliderJob {
.take(31)
.zip(lights_handle.ground.chunks(3).rev())
{
buf_chunk[0] = state_chunk[1];
buf_chunk[0] = state_chunk[2];
buf_chunk[1] = state_chunk[0];
buf_chunk[2] = state_chunk[2];
buf_chunk[2] = state_chunk[1];
}
lights_handle.dirty = false;
}