Skip to content

Commit

Permalink
Merge pull request #1805 from timjr/offbyone
Browse files Browse the repository at this point in the history
fix off-by-one error in addText3D, fixes #1803
  • Loading branch information
jspricke committed Jan 24, 2017
2 parents 6854f82 + 4f96c23 commit af2afb6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -685,7 +685,7 @@ pcl::visualization::PCLVisualizer::addText3D (
// Since each follower may follow a different camera, we need different followers
rens_->InitTraversal ();
vtkRenderer* renderer = NULL;
int i = 1;
int i = 0;
while ((renderer = rens_->GetNextItem ()) != NULL)
{
// Should we add the actor to all renderers or just to i-nth renderer?
Expand Down

0 comments on commit af2afb6

Please sign in to comment.