Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-228864] Camera behaviour changed on ESC in Camera Presets viewer (6.4.2) #6849

Closed
sl-service-account opened this issue Jun 4, 2020 · 2 comments

Comments

@sl-service-account
Copy link

What just happened?

Prior to 6.4.2 manually driving the camera to a point (eg using ALT click followed by arrow keys with ALT still held down) and then pressing ESC to reset the camera view would not turn the avatar to face where the camera just was. Now it does.

What were you doing when it happened?

Testing a Kokua bug report about the same thing

What were you expecting to happen instead?

Avatar should not turn to where the camera no longer is

Other information

Original Jira Fields
Field Value
Issue BUG-228864
Summary Camera behaviour changed on ESC in Camera Presets viewer (6.4.2)
Type Bug
Priority Unset
Status Closed
Resolution Accepted
Labels camera_presets
Reporter Chorazin Allen (chorazin.allen)
Created at 2020-06-04T14:01:31Z
Updated at 2021-02-01T18:09:23Z
{
  'Build Id': 'unset',
  'Business Unit': ['Platform'],
  'Date of First Response': '2020-06-08T14:56:43.483-0500',
  "Is there anything you'd like to add?": '-',
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'System': 'SL Viewer',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': 'Prior to 6.4.2 manually driving the camera to a point (eg using ALT click followed by arrow keys with ALT still held down) and then pressing ESC to reset the camera view would not turn the avatar to face where the camera just was. Now it does.',
  'What were you doing when it happened?': 'Testing a Kokua bug report about the same thing',
  'What were you expecting to happen instead?': 'Avatar should not turn to where the camera no longer is',
}
@sl-service-account
Copy link
Author

Chorazin Allen commented at 2020-06-04T14:21:02Z

The cause looks to be the removal of

gAgentCamera.switchCameraPreset(CAMERA_PRESET_REAR_VIEW);

within handle_reset_view() in llviewermenu.cpp

@sl-service-account
Copy link
Author

Ansariel Hiller commented at 2020-06-08T19:56:43Z

You don't want to call gAgentCamera.switchCameraPreset here anymore - you want to call gAgentCamera.setFocusOnAvatar(TRUE, FALSE, FALSE); instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant