Bug 5033 - IQM bounds swap and segfault issues
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: All All
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2011-06-08 21:25 EDT by Zack Middleton
Modified: 2011-06-11 11:19:30 EDT
1 user (show)

See Also:


Attachments
Fixes IQM bounds swapping and segfault when missing bounds (1.98 KB, patch)
2011-06-08 21:25 EDT, Zack Middleton

Description Zack Middleton 2011-06-08 21:25:23 EDT
Created attachment 2764 [details]
Fixes IQM bounds swapping and segfault when missing bounds

IQM does not swap the correct number of bounds. Bounds are per-frame and should use num_frames, not num_poses which is related to joints.

Some places do not check if model has bounds and result in a segfault.
Comment 1 Thilo Schulz 2011-06-11 11:19:30 EDT
yup.. i messed that one up. Thanks, it's really appreciated. applied to r2014