Jump to content

Gizmos only work on last created scene


Recommended Posts

Hi all,

You can see it in the playground below. The gizmos work fine in the right scene (scene2, which was created last), but for the left scene, the gizmos appear in the right scene, and they don't work! If you crate the right scene before the left one, the behavior is switched.


@trevordev do you know what's going on here? And thanks for making the gizmos, can't wait to use them!

Link to comment
Share on other sites

21 hours ago, trevordev said:

@Gijs this looks like an issue.

Created this PR with a fix. https://github.com/BabylonJS/Babylon.js/pull/5261 after the next nightly the gizmos should work in your PG. Let me know if you have any other issues.

It works!... sort of. There's another bug, with the bounding box gizmo. When the attached mesh is clicked, mousedown will fire then no longer. It's only the mousedown, and nothing more. pointerdown works fine, both on the JS event system and that of Babylon.



Note the

scene.preventDefaultOnPointerDown = false;

I've looked into it, but I haven't found the cause yet ?

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...