Fix #25. Check for 'map_Bump' as well as 'map_bump'.

This commit is contained in:
Richard Knight 2021-03-13 08:21:43 +00:00
parent e7a99e63a0
commit eba6f59206

View file

@ -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' &&