Skip to content

Commit 9915bff

Browse files
author
Daniel
authored
vtk render warning disable (line 230)
1 parent 449c2d0 commit 9915bff

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ int main(int argc, char **argv){
226226
pcl::console::print_info("\nOutput cloud points: ");
227227
pcl::console::print_value("%d", output_cloud->points.size());
228228
pcl::console::print_info("\n");
229-
229+
230+
vtkObject::GlobalWarningDisplayOff(); // Disable vtk render warning
230231
boost::shared_ptr<pcl::visualization::PCLVisualizer> viewer (new pcl::visualization::PCLVisualizer ("VISUALIZER"));
231232

232233
int PORT1 = 0;
@@ -284,4 +285,4 @@ int main(int argc, char **argv){
284285

285286
return 0;
286287

287-
}
288+
}

0 commit comments

Comments
 (0)