Feature #1680: Provide 1.7.1 hotfix
GUI and Py: simulation crash when sample contains undefined material
|Status:||Resolved||Start date:||01 Dec 2016|
|Target version:||Sprint 33|
How to reproduce:
- Drag and drop sample from the list of standard samples
- Go to material editor ('m'), remove all materials.
- Run simulation, crash will follow.
#2 Updated by wuttke about 1 year ago
- Subject changed from GUI: simulation crash when sample contains undefined material to simulation crash when sample contains undefined material
It's not only a GUI problem.
Take any python example, and change the line
air_layer = ba.Layer(m_ambience)
air_layer = ba.Layer()
It will crash with segfault.