Merge branch 'main' into volume-renderer

This commit is contained in:
MihailRis 2026-01-18 22:53:07 +03:00
commit b2df0a7e91
28 changed files with 642 additions and 184 deletions

View file

@ -41,7 +41,9 @@ static void on_chunk_register_event(
if ((bits & 0x80) == 0) {
const auto& def = indices.blocks.require(id);
bits = get_events_bits(def);
flagsCache[id] = bits | 0x80;
if (id < sizeof(flagsCache)) {
flagsCache[id] = bits | 0x80;
}
}
bits &= 0x7F;
if (bits == 0) {