This commit is contained in:
Shiwei Wang 2025-02-26 10:18:40 +08:00 committed by GitHub
commit 06ab240cfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1201,6 +1201,18 @@ int read_mtllib(fastObjData* data, void* file, const fastObjCallbacks* callbacks
}
break;
case 'b':
case 'B':
p++;
if (p[0] == 'u' &&
p[1] == 'm' &&
p[2] == 'p' &&
is_whitespace(p[3]))
{
p = read_map(data, p + 3, &mtl.map_bump);
}
break;
case '#':
break;
}