Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed W/O for bug DSO-7649 #833

Merged
merged 2 commits into from
Nov 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions src/ds5/advanced_mode/advanced_mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,19 +414,7 @@ namespace librealsense

void ds5_advanced_mode_base::set_census_radius(const STCensusRadius& val)
{
/////////////////////////////////////////////////////////////////////////////////////////
// Workaround for bug DSO-7649 Can't load visual presets with LibRS2.8.1 and FW 5.8.13 //
/////////////////////////////////////////////////////////////////////////////////////////
static const int min = 1;
static const int max = 9;
auto temp_val(val);
if (temp_val.uDiameter < min || temp_val.uDiameter > max)
temp_val.uDiameter = max;
if (temp_val.vDiameter < min || temp_val.vDiameter > max)
temp_val.vDiameter = max;
/////////////////////////////////////////////////////////////////////////////////////////

set(temp_val, advanced_mode_traits<STCensusRadius>::group);
set(val, advanced_mode_traits<STCensusRadius>::group);
}

void ds5_advanced_mode_base::set_laser_power(const laser_power_control& val)
Expand Down