Add a comand line option to specify state file folder to use
When loading a state file from command line with ./bin/paraview --state=myState.pvsm
, the file paths are use as is, as if using the "Use file names from state" option. It would be nice to be able to specify a state file foler, corresponding to using the "Search file name under data directory" option.
This option could be named --state-directory
or --state-directory-search
Refer discourse for more discussion about it. https://discourse.paraview.org/t/bat-file-to-automatically-load-state/4373/5
Edited by Mathieu Westphal (Kitware)