Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Crop offset issue when loading state file #2185

Open
harripj opened this issue Jul 30, 2021 · 0 comments
Open

Crop offset issue when loading state file #2185

harripj opened this issue Jul 30, 2021 · 0 comments

Comments

@harripj
Copy link

harripj commented Jul 30, 2021

Describe the bug
The crop offsets do not appear to be maintained when loading the state file.

In fact the correct crop offsets are maintained when viewing the crop in the pipeline, but the rendered volume appears to be located at the origin (0, 0, 0).

To Reproduce
Steps to reproduce the behavior:

  1. Load two datasets, eg example datasets
  2. Crop one volume
  3. Save state
  4. Load state to see that volume has been shifted to (0, 0, 0)

Expected behavior
The volume is rendered in its position when saving the state file.

Screenshots
Crop settings:
image

Volume before saving state:
image

Volume immediately after loading state:
image

Desktop (please complete the following information):

  • Operating system: Windows 10
  • Tomviz version: 1.10

Hardware (please complete the following information):

  • Device: Dell Precision 3640
  • Graphics card: NVIDIA Quadro P400

Additional context
As mentioned, the correct crop values are maintained in the state file on load, but the volume is incorrectly positioned.

State file showing the bug:
crop test2.zip

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant