We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Possible Error in removeEventListener (Verge3D 4.10)

Home Forums Bug Reports and Feature Requests Possible Error in removeEventListener (Verge3D 4.10)

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #85734
    Thomas Fabini
    Customer

    Hi guys,

    since I upgraded to 4.10 (which I need for compatibility with Blender 3.6 and older Projects)
    it seems that i can’t remove event listeners which were added with the ‘add event listener with callback’ puzzle.

    ‘remove event listener with callback’ puzzle seems broken.
    In function ‘removeEventListener’ ‘_pGlob.customEvents._listeners’ seems to return always undefined.

    const customEL = _pGlob.customEvents._listeners;
            if (customEL && customEL[type]) { ...

    I’ve came to check this because after updating a project, event listeners kept firing multiple times which they hadn’t in 4.9.0 (as far as I recall).

    Thanks,
    Thomas

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.