Skip to content

Commit

Permalink
Fix incorrect usage of getRecommendedFilters
Browse files Browse the repository at this point in the history
  • Loading branch information
jj committed Nov 6, 2024
1 parent 2c26da3 commit 8fafb63
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions orbbec_camera/src/ob_camera_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1677,9 +1677,6 @@ std::shared_ptr<ob::Frame> OBCameraNode::processDepthFrameFilter(
if (frame == nullptr || frame->getType() != OB_FRAME_DEPTH) {
return nullptr;
}
auto sensor = device_->getSensor(OB_SENSOR_DEPTH);
CHECK_NOTNULL(sensor.get());
auto filter_list = sensor->getRecommendedFilters();
for (size_t i = 0; i < filter_list_.size(); i++) {
auto filter = filter_list_[i];
CHECK_NOTNULL(filter.get());
Expand Down

0 comments on commit 8fafb63

Please sign in to comment.