From 539a5828e09d87ad553638168df2db2fe8a9bc94 Mon Sep 17 00:00:00 2001 From: Michael Dingerkus Date: Sat, 25 Oct 2014 11:04:01 +0200 Subject: [PATCH] Fix in PCLVisualizer --- visualization/include/pcl/visualization/impl/pcl_visualizer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visualization/include/pcl/visualization/impl/pcl_visualizer.hpp b/visualization/include/pcl/visualization/impl/pcl_visualizer.hpp index 0413bd72362..fd48bae397c 100644 --- a/visualization/include/pcl/visualization/impl/pcl_visualizer.hpp +++ b/visualization/include/pcl/visualization/impl/pcl_visualizer.hpp @@ -1887,7 +1887,7 @@ pcl::visualization::PCLVisualizer::updatePolygonMesh ( vtkSmartPointer polydata = static_cast(am_it->second.actor->GetMapper ())->GetInput (); if (!polydata) return (false); - vtkSmartPointer cells = polydata->GetStrips (); + vtkSmartPointer cells = polydata->GetPolys (); if (!cells) return (false); vtkSmartPointer points = polydata->GetPoints ();