Added hex digit to TFace
This commit is contained in:
@@ -129,7 +129,8 @@ vector<struct TFace> parse_face(ifstream &f) {
|
||||
if (!hex && fdata.length() > 1) {
|
||||
if (SECONDCH(fdata) == 'x') {
|
||||
// this is the unidentified hex digit.
|
||||
// just it signify the texture at the end.
|
||||
// out of range for stoi
|
||||
x.hex = strtoul(fdata.c_str(), NULL, 16);
|
||||
hex = true;
|
||||
}
|
||||
} else if (!hex) {
|
||||
|
||||
Reference in New Issue
Block a user