From 861bc44907f9eeadfc263b39af2e7fbe11bf33e2 Mon Sep 17 00:00:00 2001 From: Mikhail Kiselyov Date: Sat, 4 Nov 2023 13:25:06 +0300 Subject: [PATCH] fix visualization and fix comment --- octreelib/grid/grid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/octreelib/grid/grid.py b/octreelib/grid/grid.py index 84b6d8a..2d3a8fd 100644 --- a/octreelib/grid/grid.py +++ b/octreelib/grid/grid.py @@ -161,10 +161,10 @@ def visualize(self, config: VisualizationConfig) -> None: vertices = [] for pose_number in range(poses_number): - # TODO: Draw full grid, either empty voxels + # TODO: Draw full grid including empty voxels leaves = self.get_leaf_points(pose_number=pose_number) for leaf in leaves: - vertices.append(leaf.corners) + vertices.append(leaf.all_corners) for vertex in vertices: plot += k3d.lines(