do not grab that last image

This commit is contained in:
Hiro Protagonist 2017-03-29 14:40:06 +13:00
parent 73b7f22ebb
commit ff9f0b6ba5

View file

@ -226,7 +226,8 @@ void MainWindow::frameCaptured( FlyCapture2::Image * image ) {
m.lock();
// TODO: WHY POINTER
image_buffer->append( image );
if ( image )
image_buffer->append( image );
ui->buffer->display( image_buffer->length() );
// If preview is activated...