Skip to content

Commit

Permalink
fix spatial filter bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Sep 18, 2024
1 parent 2375063 commit e2ffcb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proc/spatial-filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ namespace librealsense
holes_filling_mode->set_description(sp_hf_16_pixel_radius, "16-pixel radius");
holes_filling_mode->set_description(sp_hf_unlimited_radius, "Unlimited");

auto weak_holes_filling_mode = std::weak_ptr<ptr_option<uint8_t>>();
auto weak_holes_filling_mode = std::weak_ptr<ptr_option<uint8_t>>(holes_filling_mode);
holes_filling_mode->on_set([this, weak_holes_filling_mode](float val)
{
auto strong_holes_filling_mode = weak_holes_filling_mode.lock();
Expand Down

0 comments on commit e2ffcb6

Please sign in to comment.