Skip to content

Commit

Permalink
Make concatenatePointCloud return correct row_step (width x point_ste…
Browse files Browse the repository at this point in the history
…p) (#433)
  • Loading branch information
mvieth authored Nov 16, 2023
1 parent e8ce252 commit 0722a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcl_conversions/include/pcl_conversions/pcl_conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +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;
cloud_out.row_step = cloud_out.width * cloud_out.point_step;
if (!cloud1.is_dense || !cloud2.is_dense)
cloud_out.is_dense = false;
else
Expand Down

0 comments on commit 0722a70

Please sign in to comment.