mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-06 01:20:42 +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;
|
_model = resource;
|
||||||
const auto model = resource.data();
|
const auto model = resource.data();
|
||||||
const auto avatarModel = resource.data()->getHFMModel();
|
const auto avatarModel = resource.data()->getHFMModel();
|
||||||
if (!avatarModel.originalURL.endsWith(".fbx")) {
|
if (!avatarModel.originalURL.toLower().endsWith(".fbx")) {
|
||||||
addError("Unsupported avatar model format.", "unsupported-format");
|
addError("Unsupported avatar model format.", "unsupported-format");
|
||||||
emit complete(getErrors());
|
emit complete(getErrors());
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue