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

Wrong initial scale of 3D model #210

Open mshavliuk opened 1 year ago

mshavliuk commented 1 year ago

Description

When I visualize the imported head model for the first time it has wrong scale

Steps to reproduce

  1. Open ZI
  2. Import -> Import data to a new project
  3. Select proj_root/scripts/scripts_for_importing/multicompartment_head_project/import_segmentation.zef
  4. Wait for importing
  5. Click "Visualize surfaces"

Even though the Mesh Visualization tool has scale 5 and zef.cam_va parameter also has that same value, the model is displayed with a wrong scale. Usually, after clicking "Visualize surfaces" second time it gets fixed. This was reproduced on both Linux and MacOS

Expected behavior

Screenshots

MacOS

https://user-images.githubusercontent.com/6589665/237004800-a2683f60-5c96-4642-83e5-cc8977306d4f.mp4

Linux

https://user-images.githubusercontent.com/6589665/237005012-4e81588a-4dd5-4420-9154-bbb39035149f.mp4

Context

Name Value
Version 6cb2537c zef_import_parcellation_colortable: load fields from color table file order-agnostically
OS Linux and MacOS
Shell N/A