scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
67 stars 17 forks source link

Protein deletion is very slow #564

Closed smlpt closed 4 months ago

smlpt commented 6 months ago

Protein objects are made up of several nested partial curve objects. When deleting the protein from the scene in the inspector, it takes almost 8 seconds to delete the protein, using the default protein from Add > Protein from PDB ID.

I think this is caused by the fact that the scene gets updated after every delete operation of every single partial curve. Maybe it would be faster when scene updates are disabled while child objects are being deleted?

smlpt commented 4 months ago

This has been fixed with #587