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

feat: allow to fix broken links on load #3264

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

rodolforg
Copy link
Contributor

@rodolforg rodolforg commented Nov 4, 2023

Currently, Synfig doesn't load a document if something is linked to a valuenode or canvas of a external file, and this file is not found. This usually happens when user renames, moves or deletes those files.

This PR allows Synfig Studio to track those missing files and presents a dialog where user can point the missing files to their new locations or names. If user deleted the file, however, 'nothing' can be done except creating a new file with the required library items...

The Synfig CLI is not affected by this feature/PR.

@rodolforg rodolforg force-pushed the studio-allow-to-fix-broken-links-on-load branch from 960c5f3 to c973198 Compare November 5, 2023 11:58
@rodolforg
Copy link
Contributor Author

rodolforg commented Nov 8, 2023

I believe this is now properly working.

TODO:

  • move new classes in canvas.h to a proper file?
  • add docs to those new classes
  • create test files?

@rodolforg rodolforg force-pushed the studio-allow-to-fix-broken-links-on-load branch from 827b0e2 to 74e915b Compare December 24, 2023 13:48
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.

None yet

1 participant