Page MenuHomeFeedback Tracker

Splendid camera does not restore rotation for presets
Closed, ResolvedPublic

Description

The splendid camera does not restore pitch and roll when recalling offsets with 1,2,3,etc. (saved with ctrl+1,2,3, etc.).

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Eden Editor
Steps To Reproduce
  1. Open splendid camera.
  2. Point camera down.
  3. Press Ctrl+1 to save position.
  4. Point camera straight ahead.
  5. Press 1 to recall position.

Camera still points straight. Only heading is restored.

Event Timeline

MulleDK19 updated the task description. (Show Details)
MulleDK19 edited Steps To Reproduce. (Show Details)
Wulf changed the task status from New to Reviewed.Jan 22 2018, 12:29 PM
Wulf added a subscriber: Wulf.

Hello.

Thank you for the report, we will have a look at it.

greenfist added a subscriber: greenfist.EditedMay 17 2020, 12:04 PM

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.

LouMontana changed the task status from Reviewed to Feedback.Nov 22 2020, 3:25 PM
BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Nov 24 2020, 4:48 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.
Pi added a subscriber: Pi.Jun 12 2021, 4:29 PM

Hi, is this issue still happening @greenfist ?

Hi Pi, no, this was fixed in November and I can confirm it still works in the current stable build.

Pi closed this task as Resolved.Jun 14 2021, 6:24 PM
Pi claimed this task.

Hi Pi, no, this was fixed in November and I can confirm it still works in the current stable build.

Thanks!