[Python] Render() will not exit unless interpreter is closed
How to replicate
$ python
>>> import paraview.simple as ps
>>> ps.Show(ps.Cone())
>>> ps.Render()
Window that appears will not close unless interpreter is closed.
System:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
$ python --version
Python 2.7.12
I have replicated this result on different machines. I see the same results in a Windows Developer build. The Render()
is also buggy with scripts.
Edit:
WriteImage()
causes a display to be opened, and this does properly close.
Edited by Steven Walton