Sign in to follow this  
BlackMojito

DracoCompression cause error when importing BABYLON in a worker

Recommended Posts

On 2018/3/6 at 12:46 AM, Deltakosh said:

I'll fix it for next commit :)

Hi Boss, there is a bug in your fix.

https://github.com/BabylonJS/Babylon.js/blob/74fc8a3c1cb2407ea4faaba292f3a881057fc65d/src/Mesh/Compression/babylon.dracoCompression.ts#L191

I think it should be 

if (!Tools.IsWindowObjectExist()) {

 

PR submitted https://github.com/BabylonJS/Babylon.js/pull/3937/files. BTW, when can we get the next alpha version which integrates the fix? :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.