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

Rotation of currently placed objects behaves strangely #396

Closed
Atria1234 opened this issue Dec 20, 2021 · 0 comments · Fixed by #431
Closed

Rotation of currently placed objects behaves strangely #396

Atria1234 opened this issue Dec 20, 2021 · 0 comments · Fixed by #431

Comments

@Atria1234
Copy link
Collaborator

Steps to reproduce

  • open new canvas
  • place some buildings
  • select some of them
  • click "Rotate" key binding (default Mouse wheel or R)
  • selected objects will be copied to selected objects (will move with mouse) and selected placed objects stay on canvas

From this point forward there are couple of strange behaviours:

  • move buildings to free space

  • right click /cancel operation)

  • placed buildings can be selected in new position but they still render at start location
    1

  • move buildings anywhere

  • left click (move the objects)

  • old buildings are moved, but they are still dragged with mouse (they no longer appear transparent)

  • clicking again duplicates objects
    2

Same steps as above, but has different behaviour

  • move buildings anywhere

  • left click (move the objects)

  • old buildings are removed from canvas, but they are still dragged with mouse

  • clicking again moves the selected objects again
    3

  • move building over not selected building

  • left click (move the objects)

  • right click (cancel operation)

  • objects will be overlapping
    4

@Atria1234 Atria1234 changed the title Rotation of currently places objects behaves strangely Rotation of currently placed objects behaves strangely Dec 23, 2021
@FroggieFrog FroggieFrog added this to the Anno Designer 9.4 Release milestone Jun 29, 2022
FroggieFrog added a commit that referenced this issue Jul 7, 2022
…ts (#431)

* SelectedObjects are clones instead of just copied to the CurrentObjects #429 #396
* add test

Co-authored-by: FroggieFrog <[email protected]>
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

Successfully merging a pull request may close this issue.

2 participants