Skip to content

Commit

Permalink
flatten row step (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aposhian authored May 5, 2023
1 parent 3bb07c0 commit 33dbb3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pcl_conversions/include/pcl_conversions/pcl_conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ namespace pcl {
// Height = 1 => no more organized
cloud_out.width = cloud1.width * cloud1.height + cloud2.width * cloud2.height;
cloud_out.height = 1;
cloud_out.row_step = cloud_out.width;
if (!cloud1.is_dense || !cloud2.is_dense)
cloud_out.is_dense = false;
else
Expand Down

0 comments on commit 33dbb3b

Please sign in to comment.