Need to escape path separator in Save State for CreateTexture function in Windows
In ParaView 5.8.0 on Windows 8.1 64 bit:
- Create a sphere source
- Add a "Texture Map To Sphere"
- Load any *.png file as new texture
- Save state in python format.
- Reload this state from a fresh paraview: it crashes.
The problem is that path separator was not escaped in the CreateTexture function, as it is in readers. We have something like
path\to\texture
instead ofpath\\to\\texture
. In my case I had a\t
in my path read as tab for example.