captainleighwalker Posted May 15, 2018 Share Posted May 15, 2018 I have 3 tasks but the onFinish event fires and returns 1 task? It does it now and again in IE but every time in Chrome. Inspecting the tasks after loading shows totalTasksCount = 3 but tasks.length = 1 Quote Link to comment Share on other sites More sharing options...
royibernthal Posted May 15, 2018 Share Posted May 15, 2018 Perhaps some tasks fail? Possibly due to CORS? Did you check the console for errors and the network tab for request status of files? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 15, 2018 Share Posted May 15, 2018 can you repro on the PG? Quote Link to comment Share on other sites More sharing options...
captainleighwalker Posted May 15, 2018 Author Share Posted May 15, 2018 Yes it looks like it fires when the first task finishes. It's ok in edge after its cached. However in chrome it does it every time. http://www.babylonjs-playground.com/#97JAVQ @Deltakosh On a side note I noticed you reversed normals when applying a negative scale, thanks. ? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 16, 2018 Share Posted May 16, 2018 It is not a bug per se. The texture task is returning as soon as the texture is created (but not loaded)But I think this is not the right thing to do. I'll fix the behavior Quote Link to comment Share on other sites More sharing options...
captainleighwalker Posted May 16, 2018 Author Share Posted May 16, 2018 surely this event would be when all tasks have finished, not the first one? I didn't notice this problem before this new version. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 16, 2018 Share Posted May 16, 2018 will be fixed by next commit! Quote Link to comment Share on other sites More sharing options...
captainleighwalker Posted June 27, 2018 Author Share Posted June 27, 2018 Hi @Deltakosh did you manage to fix this as this was preventing me from using the latest version at the time? Thanks if you did! Quote Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2018 Share Posted June 27, 2018 It is fixed in 3.3 yep..(alpha9) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.