This commit is contained in:
matlabbe
2021-02-18 21:04:00 -05:00
parent bb7e9edb9b
commit 9bf12742b1

View File

@@ -3236,8 +3236,8 @@ std::map<int, std::pair<pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr, pcl::Indic
util3d::transformPointCloud(cloud, iter->second), util3d::transformPointCloud(cloud, iter->second),
indices, indices,
"z", "z",
min!=0.0f&&min<max?min:std::numeric_limits<float>::lowest(), min!=0.0f&&min<max?min:std::numeric_limits<int>::min(),
max!=0.0f?max:std::numeric_limits<float>::max()); max!=0.0f?max:std::numeric_limits<int>::max());
} }
} }
else if(_ui->checkBox_fromDepth->isChecked() && uContains(cachedClouds, iter->first)) else if(_ui->checkBox_fromDepth->isChecked() && uContains(cachedClouds, iter->first))