tomviz icon indicating copy to clipboard operation
tomviz copied to clipboard

Crop offset issue when loading state file

Open harripj opened this issue 2 years ago • 0 comments

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

harripj avatar Jul 30 '21 11:07 harripj