diff --git a/cpp/open3d/t/geometry/LineSet.cpp b/cpp/open3d/t/geometry/LineSet.cpp index 1b5e7bc59df..f525694ca45 100644 --- a/cpp/open3d/t/geometry/LineSet.cpp +++ b/cpp/open3d/t/geometry/LineSet.cpp @@ -273,7 +273,6 @@ LineSet LineSet::CreateCameraVisualization(int view_width_px, {0, 6}, {0, 7}}); - // Convert Eigen data to Tensors LineSet lineset(points, lines); if (color.NumElements() == 3) { lineset.PaintUniformColor(color); diff --git a/cpp/open3d/t/geometry/LineSet.h b/cpp/open3d/t/geometry/LineSet.h index 7d719881788..38fb7c61be2 100644 --- a/cpp/open3d/t/geometry/LineSet.h +++ b/cpp/open3d/t/geometry/LineSet.h @@ -405,8 +405,7 @@ class LineSet : public Geometry, public DrawableGeometry { const core::Tensor &intrinsic, const core::Tensor &extrinsic, double scale, - const core::Tensor &color = {} - ); + const core::Tensor &color = {}); protected: core::Device device_ = core::Device("CPU:0");