POV-Ray : Newsgroups : povray.tools.general : building povmodeler? : Re: building povmodeler? Server Time
26 Apr 2024 00:29:27 EDT (-0400)
  Re: building povmodeler?  
From: Ton
Date: 8 Dec 2019 18:50:02
Message: <web.5ded8b59cdd38c9f3a913d00@news.povray.org>
>
> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.