Commit 7f6674e3 authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[MERGE]

parents 75099d33 b287e821
......@@ -130,7 +130,7 @@ void WMArbitraryROIs::moduleMain()
break;
}
if( m_dataSet != m_input->getData() )
if( m_input->getData() && m_dataSet != m_input->getData() )
{
// acquire data from the input connector
m_dataSet = m_input->getData();
......
......@@ -325,6 +325,14 @@ void WMGaussFiltering::moduleMain()
newValueSet = iterativeFilterField( vals, iterations );
break;
}
case W_DT_UINT16:
{
boost::shared_ptr<WValueSet<uint16_t> > vals;
vals = boost::shared_dynamic_cast<WValueSet<uint16_t> >( ( *m_dataSet ).getValueSet() );
WAssert( vals, "Data type and data type indicator must fit." );
newValueSet = iterativeFilterField( vals, iterations );
break;
}
case W_DT_SIGNED_INT:
{
boost::shared_ptr<WValueSet<int32_t> > vals;
......
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