Skip to content

Commit

Permalink
Merge pull request #2165 from jasjuang/master
Browse files Browse the repository at this point in the history
handle VTK legacy function (follow up to #2112)
  • Loading branch information
taketwo authored Dec 21, 2017
2 parents 13cefb7 + 0a68753 commit 412ef84
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 412ef84

Please sign in to comment.