Skip to content

Commit 4db3dc4

Browse files
committed
Replace deprecated VTK function
On the VTK master branch, the function is already removed. Related to 7e4f6e8
1 parent 1dd5b3f commit 4db3dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualization/src/histogram_visualizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void
170170
pcl::visualization::PCLHistogramVisualizer::reCreateActor (
171171
const vtkSmartPointer<vtkDoubleArray> &xy_array, RenWinInteract* renwinupd, const int hsize)
172172
{
173-
renwinupd->ren_->RemoveActor2D (renwinupd->xy_plot_);
173+
renwinupd->ren_->RemoveViewProp (renwinupd->xy_plot_);
174174
renwinupd->xy_plot_->RemoveAllDataSetInputConnections ();
175175

176176
double min_max[2];

0 commit comments

Comments
 (0)