remove unnecessary declaration

pull/1453/head
ozantonkal 12 years ago
parent c0f44ca421
commit 540f9a67f3
  1. 4
      modules/viz/src/shape_widgets.cpp

@ -1095,9 +1095,7 @@ cv::viz::TrajectoryWidget::TrajectoryWidget(const std::vector<Affine3f> &path, c
}
cv::viz::TrajectoryWidget::TrajectoryWidget(const std::vector<Affine3f> &path, const Matx33f &K, double scale, const Color &color)
{
vtkIdType nr_points = path.size();
{
vtkSmartPointer<vtkAppendPolyData> appendFilter = vtkSmartPointer<vtkAppendPolyData>::New();
vtkSmartPointer<vtkCamera> camera = vtkSmartPointer<vtkCamera>::New();

Loading…
Cancel
Save