Ovito 3.0 script interface - Final evaluation of the pipeline when the script closes
Hi, I'm using an ovitos 3.0 script to render some frames from a trajectory file.
I'm using a custom modifier that was printing some info, e.g. frame number, for debugging purposes.
While running this script I've noticed that the pipeline was evaluated one last time for frame 0 (no matter which frame was rendered with vp.render_image(...)
) when the python script was exiting. The only work around was if I am using pipeline.remove_from_scene()
after rendering the image.
[Edit] I attached a minimal example. It seem that this only happens for a trajectory with multiple frames and when rendering frame != 0
Edited by Adrien Gola