Fixed output rwo_step when inputs are organized

This commit is contained in:
matlabbe
2026-05-26 01:09:34 +00:00
parent a6921845b6
commit b51ba8798b
@@ -401,8 +401,8 @@ private:
#else
pcl::concatenatePointCloud(*assembled, *(*iter), *assembledTmp);
#endif
//Make sure row_step is the sum of both
assembledTmp->row_step = assembled->row_step + (*iter)->row_step;
// Make sure row_step is updated
assembledTmp->row_step = assembledTmp->point_step * assembledTmp->width;
assembled = assembledTmp;
}
}