Weird error that has no (noticeable) consequences

SeanRTGamesSeanRTGames Posts: 0
edited December 1969 in Daz Script Developer Discussion

I have made a nice little dialog window that allows you to choose several cameras that you want to render, and where each camera should render to (only supports files at the moment.) It looks like this:
Image

The error I get is this:

QMetaObject::invokeMethod: No such method DzImageRenderHandler::getViewRenderHandler()

from this code:

function Render()
{
 var oRenderMgr = App.getRenderMgr();
 var oRenderer = oRenderMgr.getActiveRenderer();
 var oRenderOptions = oRenderMgr.getRenderOptions();

 var item = m_wLvShots.firstChild();
 do
 {
  var camname = item.text( 0 );
  var srcCam = Scene.findCameraByLabel( camname );
  if( srcCam )
  {
   var fileName = item.text( 1 );
   oRenderOptions.renderImgToId = DzRenderOptions.DirectToFile;
   oRenderOptions.renderImgFilename = fileName;
   
   var oHandler = new DzImageRenderHandler( oRenderOptions.imageSize, 0, oRenderOptions.renderImgFilename );
   oRenderer.render( oHandler, srcCam, oRenderOptions );
  }
 item = item.itemBelow();
 } while( item );
}

DAZ will render all of the images correctly, but on the beginning of each render, it will throw this error/warning/something.

Should this be something I should worry about, or how should I fix it? I am new to DAZ scripting, but am an experienced programmer in my own right.

Sign In or Register to comment.