|
|
>
> Hoy! Mr Ton.
>
> Those are both very useful tips. Thank you!
>
> Agreed about getting rid of the useless MessageBox.
>
>
> --
> dik
> Rendered 42,220,569,600 of 49,882,521,600 pixels (84%)
Hello Dick, you can skip that mr. I'm just Ton!
If you replace this code in pmpovrayrenderwidget.cpp
//eticre add +D +P for preview png default format +FP
m_args = m_args + QString( "+I" ) + m_pTempFile->fileName() + " +O-" + "
+FP"
+ "\n" + " -D" + " -P";
QFileInfo file_info( documentURL.toString() );
if( !documentURL.isEmpty() && documentURL.isLocalFile() )
{
m_pProcess->setWorkingDirectory( file_info.path().remove( 0, 6 ) );
}
m_progress = 0;
m_bPixmapUpToDate = false;
//get user input modify args
// QInputDialog qi;
// qi.setInputMode( QInputDialog::TextInput );
// qi.setOptions( QInputDialog::UsePlainTextEditForTextInput );
// m_args = qi.getMultiLineText( this, "povray", "
______________________cmdline____________________
",
// m_args, nullptr, Qt::Widget,
Qt::ImhMultiLine );
that messagebox is gone. Also those arguments for creating a movie are gone.
Cheers
Ton.
Post a reply to this message
|
|