Skip to content

Commit

Permalink
Merge pull request #1290 from nh2/fix-user-filter-value
Browse files Browse the repository at this point in the history
passthrough: Fix user_filter_value_ not being used at all
  • Loading branch information
taketwo committed Aug 4, 2015
2 parents bc8e5a1 + 016c748 commit d42cf9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filters/src/passthrough.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ pcl::PassThrough<pcl::PCLPointCloud2>::applyFilter (PCLPointCloud2 &output)
return;
}

float badpt = std::numeric_limits<float>::quiet_NaN ();
float badpt = user_filter_value_;
// Check whether we need to store filtered valued in place
if (keep_organized_)
{
Expand Down

0 comments on commit d42cf9c

Please sign in to comment.