mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +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");
|
||||
}
|
||||
|
||||
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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue