Skip to content

Commit

Permalink
Merge pull request #1300 from VictorLamoine/vtk_5_lightning_fix
Browse files Browse the repository at this point in the history
Fix VTK lightning when changing shape colour
  • Loading branch information
taketwo committed Aug 23, 2015
2 parents 5cc75f0 + b04f012 commit e75f793
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions visualization/src/pcl_visualizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1461,9 +1461,6 @@ pcl::visualization::PCLVisualizer::setShapeRenderingProperties (
actor->GetProperty ()->SetAmbient (0.8);
actor->GetProperty ()->SetDiffuse (0.8);
actor->GetProperty ()->SetSpecular (0.8);
#if ((VTK_MAJOR_VERSION == 5) && (VTK_MINOR_VERSION >= 4))
actor->GetProperty ()->SetLighting (0);
#endif
actor->Modified ();
break;
}
Expand Down

0 comments on commit e75f793

Please sign in to comment.