The splendid camera does not restore pitch and roll when recalling offsets with 1,2,3,etc. (saved with ctrl+1,2,3, etc.).
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Eden Editor
Steps To Reproduce
- 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.
Event Timeline
Comment Actions
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:
function \A3\functions_f\Debug\fn_camera.sqf
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.
Comment Actions
Hi Pi, no, this was fixed in November and I can confirm it still works in the current stable build.