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

VIM WebGL - Component API bugs when removing/clearing VIM files and adding another #41

Open
3 tasks
mavimaec opened this issue Feb 5, 2025 · 0 comments
Open
3 tasks
Assignees

Comments

@mavimaec
Copy link

mavimaec commented Feb 5, 2025

REPRO

Context: the 00_localFile.tsx introduced in #40 uncovered the following bugs which needed to be worked around:

  • Removing a VIM file from the viewer and adding a new one causes the BIM inspector tree to fail (some interactions like selection and isolation don't work anymore)

  • Clearing the VIM viewer and adding a new VIM file produces an error in the BIM inspector.

TODO

  • Ensure that clearing or removing existing VIM files and then adding a new VIM file does not cause exceptions in the BIM inspector (or the underlying bim element tree)

  • Update 00_localFile.tsx such that a user can load different VIM files one after another (clearing the previous scene) without any loss of functionality to the bim inspector or the ability to select/isolate from the BIM inspector.

    • Slightly related when wanting to test 00_localFile.tsx: the serve:website command doesn't appear to let me (@mavimaec ) preview the built site (/api, /vim-web) locally on my machine. Any chance we can fix this?
      npm run build:website
      npm run serve:website
      
@mavimaec mavimaec changed the title Removing a VIM file from the viewer and adding a new one causes the BIM inspector tree to fail (some interactions like selection and isolation don't work anymore) VIM WebGL - Component API bugs when removing/clearing VIM files and adding another Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants