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

Avoid crashes in point picking when VTK props are deleted #259

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maleike
Copy link
Contributor

@maleike maleike commented Jul 11, 2022

I could observe crashes where mappers were deleted and subsequent picking
was then attempting to access some of the deleted vtkProps associated
to the deleted mappers.

I do not see a way to improve the mtime checks in this method to avoid
the aforementioned crash. So the only way to ensure proper picking seems
to be the introduction of a new list of pointers to props so the props
are not getting deleted.

Signed-off-by: Daniel Maleike daniel.maleike@stryker.com

I could observe crashes where mappers were deleted and subsequent picking
was then attempting to access some of the deleted vtkProps associated
to the deleted mappers.

I do not see a way to improve the mtime checks in this method to avoid
the aforementioned crash. So the only way to ensure proper picking seems
to be the introduction of a new list of pointers to props so the props
are not getting deleted.

Signed-off-by: Daniel Maleike <daniel.maleike@stryker.com>
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.

None yet

1 participant