[assets system] Fix fusing resource buffer markers (#2548)

This commit is contained in:
Dragorn421 2025-05-27 17:41:51 +02:00 committed by GitHub
parent a399f90f9a
commit 91e9553ee5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -436,8 +436,8 @@ class File:
resource_buffer_markers[i_start:i_end] = [ resource_buffer_markers[i_start:i_end] = [
ResourceBufferMarker( ResourceBufferMarker(
fused[0].name.removesuffix("_fused_") + "_fused_", # TODO fused[0].name.removesuffix("_fused_") + "_fused_", # TODO
fused[0].file_start, min(map(lambda _f: _f.file_start, fused)),
fused[-1].file_end, max(map(lambda _f: _f.file_end, fused)),
users, users,
) )
] ]