Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Commit

Permalink
Fixed issue with gain setting modifications not getting saved
Browse files Browse the repository at this point in the history
* handle_request__set_tracker_gain wasn't reading the save setting flag correctly
  • Loading branch information
HipsterSloth committed Feb 16, 2017
1 parent 1504251 commit e08687c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/psmoveservice/Server/ServerRequestHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,7 @@ class ServerRequestHandlerImpl
ServerTrackerViewPtr tracker_view = m_device_manager.getTrackerViewPtr(tracker_id);
if (tracker_view->getIsOpen())
{
const bool bSaveSetting = context.request->request_set_tracker_exposure().save_setting();
const bool bSaveSetting = context.request->request_set_tracker_gain().save_setting();
const double desired_gain = context.request->request_set_tracker_gain().value();
PSMoveProtocol::Response_ResultSetTrackerGain* result_gain =
response->mutable_result_set_tracker_gain();
Expand Down

0 comments on commit e08687c

Please sign in to comment.