Skip to content

Commit

Permalink
Merge pull request #42 from MerlinCooper/issue-39-Offset_of_camera_sw…
Browse files Browse the repository at this point in the history
…itches_vs_Race-Events

Don't use directly methode from iRacingSDK to set camera - instead us…
  • Loading branch information
MerlinCooper authored Jul 10, 2020
2 parents 70a5785 + 77c8bb0 commit 50ec686
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Phases/CaptureOpeningScenes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ void _CaptureOpeningScenes(Action onComplete)

var scenicCameras = camera.GroupNum;
var aCar = data.SessionData.DriverInfo.CompetingDrivers[1].CarNumberRaw;
iRacing.Replay.CameraOnDriver((short)aCar, (short)scenicCameras);
//Don't use Methode from iRacing SDK - instead use methode from cameracontrol
ReplayControl.cameraControl.CameraOnDriver((short)aCar, (short)scenicCameras);
//iRacing.Replay.CameraOnDriver((short)aCar, (short)scenicCameras);

//var videoCapture = new VideoCapture();

Expand Down

0 comments on commit 50ec686

Please sign in to comment.