mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 04:00:48 +02:00
Complain about empty HFMModel when EITHER meshes or joints are empty
This commit is contained in:
parent
b809eed01f
commit
2919097f29
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ void GeometryReader::run() {
|
||||||
throw QString("unsupported format");
|
throw QString("unsupported format");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hfmModel->meshes.size() == 0 && hfmModel->joints.size() == 0) {
|
if (hfmModel->meshes.empty() || hfmModel->joints.empty()) {
|
||||||
throw QString("empty geometry, possibly due to an unsupported model version");
|
throw QString("empty geometry, possibly due to an unsupported model version");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue