sampsapursiainen / zeffiro_interface

Interface for using finite elements in inverse problems with complex domains
GNU General Public License v3.0
23 stars 15 forks source link

Figure transparancy does not get set #220

Open mshavliuk opened 1 year ago

mshavliuk commented 1 year ago

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

Context

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

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.