Bug 4735 - [patch] Load uncompressed MDR models
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Video
Version: GIT MASTER
Hardware: PC All
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2010-08-28 14:29 EDT by Zack Middleton
Modified: 2010-08-30 19:26:26 EDT
1 user (show)

See Also:


Attachments
Load uncompressed MDR models (482 bytes, patch)
2010-08-28 14:29 EDT, Zack Middleton

Description Zack Middleton 2010-08-28 14:29:21 EDT
Created attachment 2424 [details]
Load uncompressed MDR models

Support loading uncompressed MDR models (with more than 1 bone). "curframe++;" doesn't take number of bones into account.
Comment 1 Thilo Schulz 2010-08-29 12:50:09 EDT
Well done hunting this one down. Thanks.
Comment 2 Zack Middleton 2010-08-30 14:47:15 EDT
Thilo you made a copy-paste error in the commit. In uncompress loading, there is no cframe and j != mdr->numBones.
Comment 3 Thilo Schulz 2010-08-30 19:26:26 EDT
I guess I should have just applied your patch instead of trying to be smart. You're right of course. It's been 4 years since I wrote that monster of a function.