We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f14bf5 + 45a921e commit 802bf99Copy full SHA for 802bf99
visualization/src/interactor_style.cpp
@@ -1050,11 +1050,14 @@ pcl::visualization::PCLVisualizerInteractorStyle::OnKeyDown ()
1050
{
1051
FindPokedRenderer(Interactor->GetEventPosition ()[0], Interactor->GetEventPosition ()[1]);
1052
if(CurrentRenderer)
1053
+ {
1054
CurrentRenderer->ResetCamera ();
1055
+ CurrentRenderer->Render ();
1056
+ }
1057
else
1058
1059
PCL_WARN ("no current renderer on the interactor style.\n");
-
- CurrentRenderer->Render ();
1060
1061
break;
1062
}
1063
0 commit comments