zeffiro_interface icon indicating copy to clipboard operation
zeffiro_interface copied to clipboard

Figure transparancy does not get set

Open mshavliuk opened this issue 2 years ago • 1 comments

Description

When I click the "Visualize surface/volume" button, the distance and rotation parameters of the Figure tool get reset to the values specified in Mesh Visualization tool. At the same time, the values from "Transparency rec/surf" input field gets ignored, so the figure tool preserves the previous positions of the corresponding sliders

Steps to reproduce

  1. Load the multicompartment head project
  2. Click "Visualize surface"
  3. In the figure tool manipulate the "transp. surf." slider
  4. Click "Visualize surface" again, pay attention to the Transparency rec/surf" input field values

See the issue: the figure tool does not use provided configs and instead maintain its previous state.

Expected behavior

Either

  • the mesh visualization tool does not provide transparency controls OR
  • the transparency slider of the figure tool respect them.

Context

Name Value
Version f958de80 Merge pull request #193 from sampsapursiainen/192-fs2zefsh-improvements
OS MacOS
Shell N/A

mshavliuk avatar May 14 '23 06:05 mshavliuk

The similar issue seems to be applicable to the Colormap parameter as well - the figure tool has it's own colormap dropdown, which maintain its values between different visualization.

mshavliuk avatar May 14 '23 06:05 mshavliuk