Skip to content

Commit

Permalink
Merge pull request #956 from taketwo/fix-954
Browse files Browse the repository at this point in the history
Fix an issue with PCLVisualizer producing empty screenshots
  • Loading branch information
jspricke committed Oct 12, 2014
2 parents 4613bd4 + c6ce10c commit 30bd0ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions visualization/src/interactor_style.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ pcl::visualization::PCLVisualizerInteractorStyle::Initialize ()

// Create the image filter and PNG writer objects
wif_ = vtkSmartPointer<vtkWindowToImageFilter>::New ();
wif_->ReadFrontBufferOff ();
snapshot_writer_ = vtkSmartPointer<vtkPNGWriter>::New ();
snapshot_writer_->SetInputConnection (wif_->GetOutputPort ());

Expand Down

0 comments on commit 30bd0ad

Please sign in to comment.