diff --git a/components/rgbd-sources/src/sources/snapshot/snapshot_source.cpp b/components/rgbd-sources/src/sources/snapshot/snapshot_source.cpp index 73db6b86c3861cd0aa1105f4d9ff7dcd9cbe9fe3..136a2e7dfcc7b279228cdd5c6efc0bfb8d303baa 100644 --- a/components/rgbd-sources/src/sources/snapshot/snapshot_source.cpp +++ b/components/rgbd-sources/src/sources/snapshot/snapshot_source.cpp @@ -59,8 +59,10 @@ bool SnapshotSource::compute(int n, int b) { snapshot_.getLeftRGB(camera_idx_, frame_idx_, snap_rgb_); snapshot_.getLeftDepth(camera_idx_, frame_idx_, snap_depth_); - snap_rgb_.copyTo(rgb_); - snap_depth_.copyTo(depth_); + //snap_rgb_.copyTo(rgb_); + //snap_depth_.copyTo(depth_); + rgb_.upload(snap_rgb_); + depth_.upload(snap_depth_); auto cb = host_->callback(); if (cb) cb(timestamp_, rgb_, depth_);