JJPPeters / clTEM

OpenCL accelerated multislice simulation for electron microscopy.
https://jjppeters.github.io/clTEM/
13 stars 3 forks source link

Sim area dialog crashes if STEM is selected first #87

Closed JJPPeters closed 5 years ago

JJPPeters commented 5 years ago

Using my test.xyz: Open structure Change tab to STEM on the main window Open the Sim area dialog (doesnt matter what way) Crash

No error if the sim area dialog is opened in TEM mode and then switched to STEM.

JJPPeters commented 5 years ago

I source of the error was the slice thickness GUI updates called a slot that tried to update the 3D plot before the window had been shown. I assume this happens for CBED.

My question now is why this didn't happen for TEM?