mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-14 08:16:03 +02:00
Removed redundant ends with ‘fbx’ check.
This commit is contained in:
parent
5e31d423b9
commit
80d3ae68c2
1 changed files with 1 additions and 2 deletions
|
@ -53,10 +53,9 @@ void AnimationReader::run() {
|
|||
bool urlValid = true;
|
||||
urlValid &= !urlname.isEmpty();
|
||||
urlValid &= !_url.path().isEmpty();
|
||||
urlValid &= _url.path().toLower().endsWith(".fbx");
|
||||
|
||||
if (urlValid) {
|
||||
// Let's read the binaries from the network
|
||||
// Parse the FBX directly from the QNetworkReply
|
||||
FBXGeometry* fbxgeo = nullptr;
|
||||
if (_url.path().toLower().endsWith(".fbx")) {
|
||||
fbxgeo = readFBX(_reply, QVariantHash(), _url.path());
|
||||
|
|
Loading…
Reference in a new issue