Commit 9f3712a6 authored by Mathias Goldau's avatar Mathias Goldau

[FIX #373] Due to the update change of #373 there was a minor update bug: When...

[FIX #373] Due to the update change of #373 there was a minor update bug: When new data was connected, no update took place.
parent dd72b37d
......@@ -421,9 +421,10 @@ void WMFiberStipples::moduleMain()
if( m_posIC->getData() )
{
WPosition pos = m_posIC->getData()->getProperty();
if( m_pos->get() != pos[axis] )
double offset = 0.0001; // when the geodes share the exact positions their graphic output will interfere
if( m_pos->get() != pos[axis] + offset )
{
m_pos->set( pos[axis] );
m_pos->set( pos[axis] + offset );
continue;
}
}
......
......@@ -251,10 +251,11 @@ void WMIsoLines::moduleMain()
if( m_posIC->getData() )
{
WPosition pos = m_posIC->getData()->getProperty();
if( m_pos->get() != pos[axis] )
{
m_pos->set( pos[axis] );
WPosition pos = m_posIC->getData()->getProperty();
double offset = 0.0001; // when the geodes share the exact positions their graphic output will interfere
if( m_pos->get() != pos[axis] + offset )
{
m_pos->set( pos[axis] + offset );
continue;
}
}
......
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