Commit 4142ab50 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Fixig AMRStreaming test when VisIt bridge was not enabled.

ParaView popups up reader selection dialog for smooth.flash no matter what. So
cleaning the code.
parent 2cef5b62
<?xml version="1.0" ?>
<pqevents>
<pqevent object="pqClientMainWindow/MainControlsToolbar/actionOpenData" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/FileOpenDialog" command="filesSelected" arguments="@smooth_flash@" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ArrayStatus/SelectionWidget" command="setCheckState" arguments="6.0,2" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<!-- stop automatic streaming -->
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="stop_streaming" />
<!-- switch to a representation that supports streaming -->
<pqevent object="pqClientMainWindow/representationToolbar/displayRepresentation/comboBox" command="set_string" arguments="AMR Blocks" />
<!-- step down the streaming updates a few times -->
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow" command="pqViewStreamingBehavior" arguments="next" />
<pqevent object="pqClientMainWindow/cameraToolbar/actionPositiveY" command="activate" arguments="" />
</pqevents>
......@@ -156,14 +156,9 @@ find_file(smooth_flash NAMES smooth.flash
NO_DEFAULT_PATH)
mark_as_advanced(smooth_flash)
if (EXISTS "${smooth_flash}" AND PARAVIEW_DATA_ROOT)
if (PARAVIEW_USE_VISITBRIDGE)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/AMRStreaming.VisIt.xml.in"
"${CMAKE_CURRENT_BINARY_DIR}/AMRStreaming.xml" @ONLY)
else()
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/AMRStreaming.NoVisIt.xml.in"
"${CMAKE_CURRENT_BINARY_DIR}/AMRStreaming.xml" @ONLY)
endif()
# we configure the file since we need to point to smooth_flash.
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/AMRStreaming.xml.in"
"${CMAKE_CURRENT_BINARY_DIR}/AMRStreaming.xml" @ONLY)
set (streaming_tests
${CMAKE_CURRENT_BINARY_DIR}/AMRStreaming.xml)
set(AMRStreaming_USE_NEW_PANELS TRUE)
......
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