Skip to content

Commit

Permalink
Merge pull request #1067 from fran6co/vtk611
Browse files Browse the repository at this point in the history
Fix for vtk6.1.1
  • Loading branch information
jspricke committed Jan 6, 2015
2 parents 92b5f7f + 9c6341f commit 638de13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/src/render_views_tesselated_sphere.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ pcl::apps::RenderViewsTesselatedSphere::generateViews() {

// Get camera positions
vtkPolyData *sphere = subdivide->GetOutput ();
#if VTK_MAJOR_VERSION<6
sphere->Update ();
#endif

std::vector<Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > cam_positions;
if (!use_vertices_)
Expand Down

0 comments on commit 638de13

Please sign in to comment.