mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 13:31:48 +08:00
14 lines
536 B
Diff
14 lines
536 B
Diff
diff --git a/io/src/real_sense_2_grabber.cpp b/io/src/real_sense_2_grabber.cpp
|
|
index d13231e..06d1238 100644
|
|
--- a/io/src/real_sense_2_grabber.cpp
|
|
+++ b/io/src/real_sense_2_grabber.cpp
|
|
@@ -287,7 +287,7 @@ namespace pcl
|
|
cloud->width = sp.width ();
|
|
cloud->height = sp.height ();
|
|
cloud->is_dense = false;
|
|
- cloud->points.resize ( size () );
|
|
+ cloud->points.resize ( points.size () );
|
|
|
|
const auto cloud_vertices_ptr = points.get_vertices ();
|
|
const auto cloud_texture_ptr = points.get_texture_coordinates ();
|