Skip to content

Commit

Permalink
handle VTK legacy function
Browse files Browse the repository at this point in the history
  • Loading branch information
jasjuang committed Dec 21, 2017
1 parent 13cefb7 commit 0a68753
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions visualization/src/pcl_visualizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,9 @@ pcl::visualization::PCLVisualizer::setPointCloudRenderingProperties (
// using immediate more rendering.
case PCL_VISUALIZER_IMMEDIATE_RENDERING:
{
#if VTK_RENDERING_BACKEND_OPENGL_VERSION < 2
actor->GetMapper ()->SetImmediateModeRendering (int (value));
#endif
actor->Modified ();
break;
}
Expand Down

0 comments on commit 0a68753

Please sign in to comment.