Commit b59defc7 authored by Stéphane Albert's avatar Stéphane Albert
Browse files

ENH: Fixed first display of rendering settings; Cleaned VectorImageModel::Settings dead-code.

parent 5c73e2de
......@@ -116,7 +116,7 @@ public:
*
* \param
*
* Copy settings POD content without modified nor applied flag.
* Copy settings POD content without the modified flag.
*/
Settings( const Settings& other );
......@@ -148,12 +148,6 @@ public:
/** */
inline const ChannelVector& GetRgbChannels() const;
/**
*/
#if 0
inline ChannelVector::value_type& RgbChannel( ChannelVector::size_type i );
#endif
/**
*/
inline
......@@ -185,12 +179,6 @@ public:
void SetDynamicsParam( CountType i,
const ParametersType::ValueType& param );
/**
*/
#if 0
inline ParametersType::ValueType& DynamicsParam( CountType i );
#endif
//
// Private attributes.
private:
......@@ -571,7 +559,7 @@ VectorImageModel::Settings
m_RgbChannels( other.m_RgbChannels ),
m_DynamicsParams( other.m_DynamicsParams ),
m_IsModified( false ),
m_IsApplied( false )
m_IsApplied( other.m_IsApplied )
{
qDebug() << "Settings( const Settigs& )";
}
......@@ -663,19 +651,6 @@ VectorImageModel::Settings
return m_RgbChannels;
}
/*****************************************************************************/
#if 0
inline
const VectorImageModel::Settings::ChannelVector::value_type&
VectorImageModel::Settings
::RgbChannel( ChannelVector::size_type i )
{
SetModified();
return m_RgbChannels[ i ];
}
#endif
/*****************************************************************************/
inline
void
......@@ -757,19 +732,6 @@ VectorImageModel::Settings
m_DynamicsParams[ i ] = param;
}
/*****************************************************************************/
#if 0
inline
ParametersType::ValueType&
VectorImageModel::Settings
::DynamicsParam( CountType i )
{
SetModified();
return m_DynamicsParams[ i ];
}
#endif
} // end namespace 'mvd'.
namespace mvd
......
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