Commit 2034660f authored by Cory Quammen's avatar Cory Quammen
Browse files

Specify si_class for CGNSSeriesReader

This ensures the CGNSReader is used as the Reader subproxy and
prevents a crash when reloading CGNS files using the File -> Reload
Files menu option. Added a test for reloading a CGNS file.
parent 9457eecb
......@@ -104,6 +104,7 @@ SET (TESTS_WITHOUT_BASELINES
${CMAKE_CURRENT_SOURCE_DIR}/PluginEULA.xml
${CMAKE_CURRENT_SOURCE_DIR}/PointCellDataConversion.xml
${CMAKE_CURRENT_SOURCE_DIR}/Preview.xml
${CMAKE_CURRENT_SOURCE_DIR}/ReloadCGNSFile.xml
${CMAKE_CURRENT_SOURCE_DIR}/SearchBox.xml
${CMAKE_CURRENT_SOURCE_DIR}/ServerConnectDialog.xml
${CMAKE_CURRENT_SOURCE_DIR}/SpreadSheetSelectedCellConnectivity.xml
......
<?xml version="1.0" ?>
<pqevents>
<pqevent object="pqClientMainWindow/menubar/menu_File" command="activate" arguments="actionFileOpen" />
<pqevent object="pqClientMainWindow/FileOpenDialog" command="filesSelected" arguments="$PARAVIEW_DATA_ROOT/cgns_np01/fluid.cgns" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/menubar" command="activate" arguments="menu_File" />
<pqevent object="pqClientMainWindow/menubar/menu_File" command="activate" arguments="actionReloadFiles" />
<pqevent object="pqClientMainWindow/reloadOptionsMessageBox/qt_msgbox_buttonbox/reloadExistingButton" command="activate" arguments="" />
</pqevents>
......@@ -148,7 +148,8 @@
<!-- Begin CGNSSeriesReader -->
<SourceProxy name="CGNSSeriesReader"
class="vtkCGNSFileSeriesReader"
label="CGNS Series Reader">
label="CGNS Series Reader"
si_class="vtkSIMetaReaderProxy">
<Documentation
short_help="Read a dataset in CGNS format."
long_help="Read binary files stored in CGNS format.">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment