The splendid camera does not restore pitch and roll when recalling offsets with 1,2,3,etc. (saved with ctrl+1,2,3, etc.).
- Operating System
- Windows 10 x64
- Eden Editor
- Open splendid camera.
- Point camera down.
- Press Ctrl+1 to save position.
- Point camera straight ahead.
- Press 1 to recall position.
Camera still points straight. Only heading is restored.
The issue persists in the current dev build 1.99.146398 and stable 1.98.
Moving the camera after saving/loading replaces the profile variable that holds the camera positions.
The fault apparently lies in handling of the pitch/bank subarray of the camera parameters.
At least this seems to fix it:
Line 605: profilenamespace setvariable ["BIS_fnc_camera_positions",+_positions];
Line 1043: BIS_fnc_camera_pitchbank = +_pitchbank;
Added pluses to create new instances of the arrays.