-
-
Notifications
You must be signed in to change notification settings - Fork 368
Closed
Description
There is a very common situation when user can get his file corrupted by simply copy-pasting layers from one file to another. This happens if layer contains exported values (note that bones are exported values too!).
Steps to reproduce this situation:
- Launch Synfig and create new file.
- Create a simple Circle Layer.
- Select Circle Layer, right-click its Radius parameter and select "Export".
- Enter name for exported value, i.e. "test". Click Export.
- Save file as "file1.sifz"
- Hit Ctl+C to copy circle layer to clipboard.
- Create a new file in other tab.
- Hit Ctrl+V to paste circle from clipboard. Circle will appear on workspace. Notice, that layer is copied, but it is still references exported value from "file1.sifz"
- Save file as "file2.sifz"
- Quit Synfig.
- Now remove (or rename) "file1.sifz".
- Launch Synfig and try to open "file2.sifz".
- Error:
@rodolforg @ice0 @FirasH I think this is a top-priority issue to solve for next stable release (1.4.1 or 1.6.0).
What should be done here:
- Change how Synfig deal with pasting layers when layer has exported values.
- Change how Synfig handles situations with broken links to exported values in external documents.