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

Macro: #3756 - Loading from file and than - Undo changes causes exceptions and breakes selection/moving fuctionality #3822

Conversation

rrodionov91
Copy link
Collaborator

@rrodionov91 rrodionov91 commented Dec 28, 2023

  • fixed DrawingEntitiesManager merge method to collect return command
  • fixed history setting after opening file to store command for the main DrawingEntitiesManager

How the feature works? / How did you fix the issue?

(Screenshots, videos, or GIFs, if applicable)

Check list

  • unit-tests written
  • e2e-tests written
  • documentation updated
  • PR name follows the pattern #1234 – issue name
  • branch name doesn't contain '#'
  • PR is linked with the issue
  • base branch (master or release/xx) is correct
  • task status changed to "Code review"
  • reviewers are notified about the pull request

…tions and breakes selection/moving fuctionality

- fixed DrawingEntitiesManager merge method to collect return command
- fixed history setting after opening file to store command for the main DrawingEntitiesManager
@@ -297,6 +297,7 @@ export class DrawingEntitiesManager {
rectangleBottomRightPoint: Vec2,
) {
const command = new Command();
console.log(this.polymerBonds);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose to remove this one :)

@rrodionov91 rrodionov91 merged commit a6753dc into master Dec 29, 2023
@rrodionov91 rrodionov91 deleted the 3756-macro-loading-from-file-and-than-undo-changes-causes-exceptions-and-breakes-selection-moving branch December 29, 2023 10:56
@rrodionov91 rrodionov91 changed the title #3756 - Macro: Loading from file and than - Undo changes causes exceptions and breakes selection/moving fuctionality Macro: #3756 - Loading from file and than - Undo changes causes exceptions and breakes selection/moving fuctionality Dec 29, 2023
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 this pull request may close these issues.

Macro: Loading from file and than - Undo changes causes exceptions and breakes selection/moving fuctionality
2 participants