Commit a555973f authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[FIX] minor fixes for a better update

parent 4fb9abd1
......@@ -290,6 +290,7 @@ public:
* the grid.
*/
int getVoxelNum( const size_t x, const size_t y, const size_t z ) const;
/**
* Computes the X coordinate of that voxel that contains the
* position pos.
......
......@@ -255,7 +255,7 @@ void WMDataTypeConversion::properties()
m_dataTypeSelectionsList->addItem( "INT32", "" );
m_dataTypeSelectionsList->addItem( "INT64", "" );
m_dataTypeSelection = m_properties->addProperty( "Data type", "Data type.", m_dataTypeSelectionsList->getSelectorFirst() );
m_dataTypeSelection = m_properties->addProperty( "Data type", "Data type.", m_dataTypeSelectionsList->getSelectorFirst(), m_propCondition );
WPropertyHelper::PC_SELECTONLYONE::addTo( m_dataTypeSelection );
WModule::properties();
......
......@@ -93,16 +93,16 @@ void WMReadRawData::properties()
m_dataTypeSelectionsList->addItem( "DOUBLE", "" );
m_dataTypeSelectionsList->addItem( "FLOAT128", "" );
m_dataTypeSelection = m_properties->addProperty( "Data type", "Data type.", m_dataTypeSelectionsList->getSelectorFirst() );
m_dataTypeSelection = m_properties->addProperty( "Data type", "Data type.", m_dataTypeSelectionsList->getSelectorFirst(), m_propCondition );
WPropertyHelper::PC_SELECTONLYONE::addTo( m_dataTypeSelection );
m_X = m_properties->addProperty( "X", "Data sample in X direction.", 256 );
m_X = m_properties->addProperty( "X", "Data sample in X direction.", 256, m_propCondition );
m_X->setMin( 0 );
m_X->setMax( 1024 );
m_Y = m_properties->addProperty( "Y", "Data sample in Y direction.", 256 );
m_Y = m_properties->addProperty( "Y", "Data sample in Y direction.", 256, m_propCondition );
m_Y->setMin( 0 );
m_Y->setMax( 1024 );
m_Z = m_properties->addProperty( "Z", "Data sample in Z direction.", 256 );
m_Z = m_properties->addProperty( "Z", "Data sample in Z direction.", 256, m_propCondition );
m_Z->setMin( 0 );
m_Z->setMax( 1024 );
......
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