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: voxelmanager getCompleteScalarData #1663

Merged
merged 1 commit into from
Dec 3, 2024
Merged

fix: voxelmanager getCompleteScalarData #1663

merged 1 commit into from
Dec 3, 2024

Conversation

sedghi
Copy link
Member

@sedghi sedghi commented Dec 3, 2024

Context

Changes & Results

Testing

Checklist

PR

  • [] My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

Public Documentation Updates

  • [] The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • [] "OS:
  • [] "Node version:
  • [] "Browser:

Copy link

stackblitz bot commented Dec 3, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Dec 3, 2024

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit 0c5571a
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/674f95a40fbb710008cbd1cc
😎 Deploy Preview https://deploy-preview-1663--cornerstone-3d-docs.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.

const { pixelData } = getPixelInfo(0);
return pixelData.length * dimensions[2];
const { voxelManager: imageVoxelManager } = getPixelInfo(0);
if (!imageVoxelManager) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a case where there wouldn't be a voxelManager? Is it safe to return 0 if it doesn't exist.

@sedghi sedghi merged commit 910c963 into main Dec 3, 2024
26 checks passed
@sedghi sedghi deleted the fix/voxel-manager branch January 22, 2025 16:06
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