Skip to content

Commit

Permalink
Don't use directly methode from iRacingSDK to set camera - instead us…
Browse files Browse the repository at this point in the history
…e methode from class ReplayControl.cameraControl.
  • Loading branch information
MerlinCooper committed Jun 28, 2020
1 parent 70a5785 commit 77c8bb0
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 77c8bb0

Please sign in to comment.