From 104835b934b9bc5f945ab611720bcc50ef263a4c Mon Sep 17 00:00:00 2001 From: Evren Divrikli Date: Thu, 17 Sep 2015 01:29:16 +0200 Subject: [PATCH] Bug fix setSeedResolution affects seed_resolution_ and not resolution_ --- .../include/pcl/segmentation/impl/supervoxel_clustering.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/segmentation/include/pcl/segmentation/impl/supervoxel_clustering.hpp b/segmentation/include/pcl/segmentation/impl/supervoxel_clustering.hpp index 4ee92b6b28f..04634603dad 100644 --- a/segmentation/include/pcl/segmentation/impl/supervoxel_clustering.hpp +++ b/segmentation/include/pcl/segmentation/impl/supervoxel_clustering.hpp @@ -658,7 +658,7 @@ pcl::SupervoxelClustering::setVoxelResolution (float resolution) template float pcl::SupervoxelClustering::getSeedResolution () const { - return (resolution_); + return (seed_resolution_); } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////