Commit 16d81ee3 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[FIX] - fixed crash on shutdown if input does not contain any valid data anymore.

parent 98eaa235
......@@ -557,7 +557,7 @@ void WMScalarOperator::moduleMain()
// Create the new dataset and export it
if ( newValueSet )
{
m_output->updateData( boost::shared_ptr<WDataSetScalar>( new WDataSetScalar( newValueSet, m_inputA->getData()->getGrid() ) ) );
m_output->updateData( boost::shared_ptr<WDataSetScalar>( new WDataSetScalar( newValueSet, dataSetA->getGrid() ) ) );
}
// done
......
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