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

fix(VtkThreeView): try to minimize crashes #526

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

Conversation

floryst
Copy link
Collaborator

@floryst floryst commented Nov 30, 2023

Copy link

netlify bot commented Nov 30, 2023

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 5a33f26
🔍 Latest deploy log https://app.netlify.com/sites/volview-dev/deploys/65689ce91474620008841f4f
😎 Deploy Preview https://deploy-preview-526--volview-dev.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -210,6 +211,11 @@ function useCvrEffect(
let sampleDistance = spacing.reduce((a, b) => a + b) / 3.0;
// Adjust the volume sampling by the quality slider value
sampleDistance /= volumeQuality_ > 1 ? 0.5 * volumeQuality_ ** 2 : 1.0;
if (Features.IS_WEBGL_USING_ANGLE) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either: detect angle, or detect angle + intel

@aylward
Copy link
Contributor

aylward commented Dec 6, 2023

I can't get it to crash!!!

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