summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmrendermode.cpp
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2018-10-08 22:54:16 +0200
committerEmanoil Kotsev <deloptes@gmail.com>2021-10-21 15:59:10 +0200
commit72d4668eea11f5fdee15f54598130479ac332b09 (patch)
tree8fc9bf28aa7ff1f06e2d541e9465a0f345facc8b /kpovmodeler/pmrendermode.cpp
parentd9a5befb4fdba51b1dfb82d60e0727575ec2e1d0 (diff)
downloadtdegraphics-72d4668eea11f5fdee15f54598130479ac332b09.tar.gz
tdegraphics-72d4668eea11f5fdee15f54598130479ac332b09.zip
radiosity was removed in povray-3.7 (option -/+QR)
- Remove radiosity from render mode dialog - Update Quality options - Update c_qualityToIndex array accordingly
Diffstat (limited to 'kpovmodeler/pmrendermode.cpp')
-rw-r--r--kpovmodeler/pmrendermode.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/kpovmodeler/pmrendermode.cpp b/kpovmodeler/pmrendermode.cpp
index b2a752f8..9da4f2ac 100644
--- a/kpovmodeler/pmrendermode.cpp
+++ b/kpovmodeler/pmrendermode.cpp
@@ -39,8 +39,6 @@ void PMRenderMode::init( )
m_quality = 9;
- m_radiosity = false;
-
m_antialiasing = false;
m_samplingMethod = AntialiasingNonRecursive;
m_antialiasThreshold = 0.3;
@@ -67,7 +65,6 @@ PMRenderMode::PMRenderMode( const TQDomElement& e )
m_startRow = hlp.doubleAttribute( "start_row", m_startRow );
m_endRow = hlp.doubleAttribute( "end_row", m_endRow );
m_quality = hlp.intAttribute( "quality", m_quality );
- m_radiosity = hlp.boolAttribute( "radiosity", m_radiosity );
m_antialiasing = hlp.boolAttribute( "antialiasing", m_antialiasing );
m_samplingMethod = hlp.intAttribute( "sampling_method", m_samplingMethod );
m_antialiasThreshold = hlp.doubleAttribute( "aa_threshold", m_antialiasThreshold );
@@ -88,7 +85,6 @@ void PMRenderMode::serialize( TQDomElement& e ) const
e.setAttribute( "start_column", m_startColumn );
e.setAttribute( "end_column", m_endColumn );
e.setAttribute( "quality", m_quality );
- e.setAttribute( "radiosity", m_radiosity );
e.setAttribute( "antialiasing", m_antialiasing );
e.setAttribute( "sampling_method", m_samplingMethod );
e.setAttribute( "aa_threshold", m_antialiasThreshold );
@@ -187,10 +183,6 @@ TQStringList PMRenderMode::commandLineSwitches( ) const
cl.append( tmp );
}
cl.append( TQString( "+Q%1" ).arg( m_quality ) );
- if( m_radiosity )
- cl.append( TQString( "+QR" ) );
- else
- cl.append( TQString( "-QR" ) );
if( m_antialiasing )
{