message: Save frame before starting next one, else denoise image is lost
diff: @@ -742,6 +742,12 @@ void MainWindow::display()
  showDepth ? pDepthCopy : mappedFB);
  frame->unmapFrame(mappedFB);
  +
  + // save frame to a file, if requested
  + if (g_saveNextFrame) {
  + saveCurrentFrame();
  + g_saveNextFrame = false;
  + }
  }
  // Start new frame and reset frame timing interval start
  @@ -749,11 +755,6 @@ void MainWindow::display()
  startNewOSPRayFrame();
  }
  - if (g_saveNextFrame) {
  - saveCurrentFrame();
  - g_saveNextFrame = false;
  - }
  -
  // clear current OpenGL color buffer
  glClear(GL_COLOR_BUFFER_BIT);
  