Skip to content

Commit

Permalink
Merge pull request #977 from mdkus/master
Browse files Browse the repository at this point in the history
Fix in PCLVisualizer
  • Loading branch information
taketwo committed Oct 25, 2014
2 parents 850eb56 + 539a582 commit 6951197
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,7 @@ pcl::visualization::PCLVisualizer::updatePolygonMesh (
vtkSmartPointer<vtkPolyData> polydata = static_cast<vtkPolyDataMapper*>(am_it->second.actor->GetMapper ())->GetInput ();
if (!polydata)
return (false);
vtkSmartPointer<vtkCellArray> cells = polydata->GetStrips ();
vtkSmartPointer<vtkCellArray> cells = polydata->GetPolys ();
if (!cells)
return (false);
vtkSmartPointer<vtkPoints> points = polydata->GetPoints ();
Expand Down

0 comments on commit 6951197

Please sign in to comment.