Commit 4f0d4b2e by Alexander Wiebel

[FIX] checking for 0-pointer fixes crash

parent e6bd52aa
......@@ -101,10 +101,12 @@ void WMCoordinateSystem::moduleMain()
{
// acquire data from the input connector
m_dataSet = m_input->getData();
findBoundingBox();
createGeometry();
m_dirty = true;
if( m_dataSet )
{
findBoundingBox();
createGeometry();
m_dirty = true;
}
}
}
// clean up stuff
......
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