Skip to content

feat(endInteraction): add event for gathering camera state - #104

Merged
jourdain merged 2 commits into
masterfrom
add-end-interaction-event
Sep 23, 2026
Merged

jourdain merged 2 commits into
masterfrom
add-end-interaction-event

Conversation

@jourdain

Copy link
Copy Markdown
Collaborator

No description provided.

@jourdain

Copy link
Copy Markdown
Collaborator Author

@jspanchu the new example trigger an error when toggling between remote/local... I'm not sure of the reason, but it would be great to look into it.

@jspanchu

Copy link
Copy Markdown
Member

i started looking into it

Comment thread vue-components/src/components/VtkLocal.js Outdated
- the `getState` serialized the render window, which poisoned the state
  of the render window with it's current `Size` value. This breaks
  future `update` calls because it tried to set canvas size before the
  render window could be bound to a canvas. This threw a `SyntaxError`
  but didn't really break functionality.
- this commit grabs the interactor through the `invoke` route to avoid
  serializing the render window.
@jspanchu
jspanchu force-pushed the add-end-interaction-event branch from 5d67145 to 8742bc7 Compare September 23, 2026 01:33
@jourdain
jourdain merged commit 8dc9533 into master Sep 23, 2026
5 checks passed
@jourdain
jourdain deleted the add-end-interaction-event branch September 23, 2026 15:11
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

Successfully merging this pull request may close these issues.

2 participants