gltf_viewer: call asyncCancelLoad in drop handler

Relates to #3383
This commit is contained in:
Philip Rideout
2021-01-08 09:33:28 -08:00
parent 005e4ba2ec
commit fa879b4bd0
2 changed files with 10 additions and 9 deletions

View File

@@ -100,7 +100,7 @@ struct ResourceLoader::Impl {
int mNumDecoderTasks;
int mNumDecoderTasksFinished;
JobSystem::Job* mDecoderRootJob = nullptr;
FFilamentAsset* mCurrentAsset;
FFilamentAsset* mCurrentAsset = nullptr;
void computeTangents(FFilamentAsset* asset);
bool createTextures(bool async);