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

Fix id_map error on open_pxo_file as well as grid being wrong size #765

Conversation

mrtripie
Copy link
Contributor

This fixes this error that showed up in the #698 PR when opening a pxo file (without any changes to the empty default file):

E 0:00:11.149   getornull: Condition "!id_map.has(p_rid.get_data())" is true. Returned: nullptr
  <C++ Source>  ./core/rid.h:151 @ getornull()

This was caused by Global.canvas.update() not being called

Also fixes the grid not being updated, and maybe other bugs.

Not sure if just using the Project.change_project() will cause other issues though

Copy link
Member

@OverloadedOrama OverloadedOrama left a comment

Choose a reason for hiding this comment

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

Thanks!

@OverloadedOrama OverloadedOrama merged commit 0faacaf into Orama-Interactive:master Oct 16, 2022
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.

2 participants