Skip to content

Commit

Permalink
[bugfix] RealSense2: Fixed EmitterMode settter
Browse files Browse the repository at this point in the history
had been introduced by #47
  • Loading branch information
sisiplac authored and f00f committed Feb 8, 2018
1 parent 71671c2 commit b4b2c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BetaCameras/RealSense2/RealSense2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ public EmitterMode LaserMode
set
{
CheckOptionSupported(RealSense2API.Option.EMITTER_ENABLED, EmmiterModeDesc.Name, RealSense2API.SensorName.STEREO);
RealSense2API.SetOption(_pipeline, RealSense2API.SensorName.STEREO, RealSense2API.Option.LASER_POWER, (float)value);
RealSense2API.SetOption(_pipeline, RealSense2API.SensorName.STEREO, RealSense2API.Option.EMITTER_ENABLED, (float)value);
}
}

Expand Down

0 comments on commit b4b2c33

Please sign in to comment.