mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 23:02:32 +02:00
ignore case for .fbx file extension in AvatarDoctor
This commit is contained in:
parent
abb0a166b1
commit
687409b756
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ void AvatarDoctor::startDiagnosing() {
|
|||
_model = resource;
|
||||
const auto model = resource.data();
|
||||
const auto avatarModel = resource.data()->getHFMModel();
|
||||
if (!avatarModel.originalURL.endsWith(".fbx")) {
|
||||
if (!avatarModel.originalURL.toLower().endsWith(".fbx")) {
|
||||
addError("Unsupported avatar model format.", "unsupported-format");
|
||||
emit complete(getErrors());
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue