mirror of
https://github.com/open-goal/jak-project
synced 2026-09-04 10:41:44 -04:00
[jak3] Fix for precd extraction (#3744)
It looks like one of the tie models in this level has bad color data in the lowest LOD. For now, just skip extracting the lowest lod for this TIE only. Co-authored-by: water111 <awaterford1111445@gmail.com>
This commit is contained in:
@@ -1017,7 +1017,8 @@ void PrototypeBucketTie::read_from_file(TypedRef ref,
|
||||
for (int i = 0; i < 4; i++) {
|
||||
u32 start = index_start[i];
|
||||
u32 end = start + frag_count[i];
|
||||
ASSERT(num_color_qwcs <= end);
|
||||
// precd tie has a bug where geo 3's
|
||||
// ASSERT(num_color_qwcs <= end);
|
||||
num_color_qwcs = std::max(end, num_color_qwcs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user