Commit 2e952816 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX #262] colormapper missed some textures sometimes. The problem was a not...

[FIX #262] colormapper missed some textures sometimes. The problem was a not initialized variable in WDataModule called m_suppressColormap.
parent b7158427
......@@ -24,7 +24,8 @@
#include "WDataModule.h"
WDataModule::WDataModule()
WDataModule::WDataModule():
m_suppressColormaps( false )
{
// initialize members
}
......
......@@ -320,6 +320,10 @@ void WMData::moduleMain()
{
WGEColormapping::registerTexture( m_dataSet->getTexture(), m_runtimeName->get() );
}
else
{
debugLog() << "Suppressing colormap \"" << m_runtimeName->get() << "\".";
}
m_properties->addProperty( m_dataSet->getTexture()->getProperties() );
m_infoProperties->addProperty( m_dataSet->getTexture()->getInformationProperties() );
}
......
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