febiosoftware / FEBioStudio

https://febio.org/
MIT License
67 stars 24 forks source link

Issue: 🐛Bug report | MeshData deletion crash #106

Closed stevenlabelle closed 1 month ago

stevenlabelle commented 1 month ago

Description: FBS crashes when deleting mesh data selections Version: Dev version 2.7.0.fe45f172b

To reproduce:

  1. Create a model with a mesh and assign a mesh data to the object (e.g., intensity based on element value).
  2. Assign the map to a material parameter (e.g., young's modulus E).
  3. Open the MeshData drop down. Go to the mesh data. Under selection, press the black "x" button next to "Type: Parts". This will cause FBS to crash.
michaelrossherron commented 1 month ago

Because MeshData objects are fundamentally tied to their selection, it doesn't make sense for the selection of MeshData objects to be editable in the first place. The ability to edit these selections has been removed, and so the crash is no longer possible.