Skip to content

Commit e53fdeb

Browse files
committed
refactor: replace lidarseg existence checke
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
1 parent 4c958d8 commit e53fdeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

t4_devkit/helper/rendering.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def _render_single_lidar(first_lidar_token: str) -> None:
389389
# render segmentation pointcloud if available, otherwise render raw pointcloud
390390
if color_mode == PointCloudColorMode.SEGMENTATION:
391391
if not (
392-
self._sample_data_to_lidarseg_filename
392+
self._has_lidarseg()
393393
and sample_data.token in self._sample_data_to_lidarseg_filename
394394
):
395395
continue

0 commit comments

Comments
 (0)