mirror of
https://github.com/thisistherk/fast_obj.git
synced 2025-04-04 13:05:02 +00:00
Fix #25. Check for 'map_Bump' as well as 'map_bump'.
This commit is contained in:
parent
e7a99e63a0
commit
eba6f59206
1 changed files with 1 additions and 1 deletions
|
@ -1085,7 +1085,7 @@ int read_mtllib(fastObjData* data, void* file, const fastObjCallbacks* callbacks
|
|||
if (is_whitespace(*p))
|
||||
p = read_map(data, p, &mtl.map_d);
|
||||
}
|
||||
else if (p[0] == 'b' &&
|
||||
else if ((p[0] == 'b' || p[0] == 'B') &&
|
||||
p[1] == 'u' &&
|
||||
p[2] == 'm' &&
|
||||
p[3] == 'p' &&
|
||||
|
|
Loading…
Add table
Reference in a new issue