Environment Information
Avogadro version: 1.99.0-164-g1e548d5 (nightly from 1/7)
Operating system and version: Windows 11 Version 10.0.26100
Behavior
Rendering the electron density of a molecule then switching to a different molecule and back causes a crash.
Steps to Reproduce
Used an ORCA output (any work, I included one that is not too large) in Av2 to render the electron density (automatic resolution, light smoothing, isosurface value 0.03 default), then switched to an empty molecule, and upon switching back a crash should occur. It is consistently reproducible for me, although occasionally the crash takes slightly longer and may require switching tabs again.
Iāve tested with 2 different outputs, both cause the crash. Having electrostatic potential coloring and not having it still causes a crash. Iāve also tried turning off mesh rendering before switching and it still crashes.
TMS.tar.gz (3.3 MB)