Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling gizmo when NME is open renders gizmo in NME preview panel instead of scene #13301

Closed
PatrickRyanMS opened this issue Nov 30, 2022 · 0 comments
Assignees
Labels
bug gizmos nme Node Material Editor

Comments

@PatrickRyanMS
Copy link
Member

When a user opens NME from a scene and then enables a gizmo on a mesh in the scene, the gizmo is rendered in the preview window of NME. The gizmo will still control the scene element selected, so the functionality is still active, but it is rendered to the canvas in the child window, not the main canvas.

Repro:

  • open https://playground.babylonjs.com/#VJY6H3
  • expand the materials list
  • launch NME from the node material listed
  • leave NME open but switch back to the scene window
  • expand the nodes list
  • select the mesh in the list
  • click on any of the gizmo buttons (translate, rotate, or scale)
  • note that the gizmo does not render on the scene object
  • toggle back to the NME window and you will see the gizmo rendered in the preview canvas
  • interact with the gizmo in the preview canvas of NME and note that the scene object will react.

image

@PatrickRyanMS PatrickRyanMS added bug nme Node Material Editor gizmos labels Nov 30, 2022
@sebavan sebavan self-assigned this Nov 30, 2022
sebavan added a commit that referenced this issue Nov 30, 2022
RaananW pushed a commit that referenced this issue Dec 9, 2022
Former-commit-id: 979bf9644690172fa6ab09d537cde3793da56ea7
RaananW pushed a commit that referenced this issue Dec 9, 2022
Fix #13301

Former-commit-id: 6a280d466ebbd04a541d43af0a8ad3733ad2b951
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug gizmos nme Node Material Editor
Projects
None yet
Development

No branches or pull requests

2 participants