Skip to content
Snippets Groups Projects
Commit e4006c85 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Merge branch 'master' into 'bug/chunksync2'

# Conflicts:
#   components/rgbd-sources/src/source.cpp
parents d920dbed 1e4ba9e7
No related branches found
No related tags found
1 merge request!86Fixes for multi swap in net buffers
Pipeline #12687 passed
This commit is part of merge request !86. Comments created here will be created in the context of that merge request.
......@@ -244,7 +244,7 @@ bool Source::compute(int N, int B) {
return true;
} else if (impl_ && impl_->compute(N,B)) {
timestamp_ = impl_->timestamp_;
/*cv::Mat tmp;
cv::Mat tmp;
rgb_.create(impl_->rgb_.size(), impl_->rgb_.type());
depth_.create(impl_->depth_.size(), impl_->depth_.type());
tmp = rgb_;
......@@ -252,7 +252,7 @@ bool Source::compute(int N, int B) {
impl_->rgb_ = tmp;
tmp = depth_;
depth_ = impl_->depth_;
impl_->depth_ = tmp;*/
impl_->depth_ = tmp;
// TODO:(Nick) Reduce buffer copies
impl_->rgb_.copyTo(rgb_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment