Commit 98a405ed authored by Mario Hlawitschka's avatar Mario Hlawitschka
Browse files

[FIX] fixed update of volume rendering when options are modified

 * forgot to re-upload texture of transfer function every time the properties change
parent 5d7de821
...@@ -370,7 +370,7 @@ ...@@ -370,7 +370,7 @@
// load transfer function // load transfer function
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
if( m_transferFunction->updated()) if( ( propUpdated || m_transferFunction->updated() ) && dataValid )
{ {
debugLog() << "updated transfer function"; debugLog() << "updated transfer function";
boost::shared_ptr< WDataSetSingle > dataSet = m_transferFunction->getData(); boost::shared_ptr< WDataSetSingle > dataSet = m_transferFunction->getData();
......
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