From 80d3ae68c23c99fbd6b1922a8463343716040a93 Mon Sep 17 00:00:00 2001 From: "Anthony J. Thibault" Date: Fri, 21 Aug 2015 22:11:53 -0700 Subject: [PATCH] =?UTF-8?q?Removed=20redundant=20ends=20with=20=E2=80=98fb?= =?UTF-8?q?x=E2=80=99=20check.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libraries/animation/src/AnimationCache.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/animation/src/AnimationCache.cpp b/libraries/animation/src/AnimationCache.cpp index c9514782ee..e7a4fb50a3 100644 --- a/libraries/animation/src/AnimationCache.cpp +++ b/libraries/animation/src/AnimationCache.cpp @@ -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());