Commit 08731bbb authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[FIX #306] this should be the right way to avoid double excution while

allowing surfaces from project files
parent af3cf12a
......@@ -133,8 +133,7 @@ void WMMarchingCubes::moduleMain()
// set appropriate constraints for properties
m_isoValueProp->setMin( m_dataSet->getMin() );
m_isoValueProp->setMax( m_dataSet->getMax() );
m_isoValueProp->set( 0.5 * ( m_dataSet->getMax() + m_dataSet->getMin() ) );
m_moduleState.wait(); // need this to avoid double executing because "set" fires the conditionset
m_isoValueProp->set( 0.5 * ( m_dataSet->getMax() + m_dataSet->getMin() ), true );
}
// update ISO surface
......
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