Modelbuilder screenshots only capture model vertices
I made some recent updates to cmb and cmb-superbuild in order to run our modelbuilder tests. The tests now run and generate test images, however the process of saving the screenshot in paraview messes up the rendering. To reproduce:
- Use cmb:master that includes MR !712 (merged) (Tue 30-Jul-2019).
- In cmake, set CMB_TEST_DATA_DIR to the relevant smtk/data directory. (Note this is different than CMB_TEST_DATA_ROOT which, on my machine, is not set.)
- Run the OpenModelFile test.
- Check the screenshot file that is written to
What I see on the desktop:
And what gets saved by the ParaView "Save Screenshot" menu:
After saving the screenshot, paraview suddenly hides the faces and edges, leaving just the model vertices. Nothing in the properties panel looks different to my untrained eye.