Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'dragRotation' is not loaded when loading a state file #284

Open
lukasvin opened this issue Aug 21, 2024 · 1 comment
Open

'dragRotation' is not loaded when loading a state file #284

lukasvin opened this issue Aug 21, 2024 · 1 comment

Comments

@lukasvin
Copy link

When loading a state file, the 'dragRotation' property is reset.

steps to reproduce:

  1. add any image layer
  2. drag the sun and rotate it into any non-default position
  3. save the state
  4. load the saved state

The dragged rotation is reset to the default position [1,0,0,0].

@bogdanni
Copy link
Contributor

Restoring state involves resetting the viewpoint which leads to reset of "dragRotation".
I need to see why the last step was necessary, thanks.

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

No branches or pull requests

2 participants