-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
File corruption: Copy-paste layers with exported values from one file to another #1393
Comments
I think (1) should be a scope of this issue. (2) should be submitted a separate issue. |
Here is my proposal for solving this - https://synfig-docs-dev.readthedocs.io/en/latest/projects/copy-paste-exported-values.html |
Hello, I would like to show you an error that has to do with the topic. Here I present a video and two example files of how bones made are corrupted when copied to another file. Original file: Copied file: Video with the demonstration: I hope the information is useful. Thank you |
@Gilraiser Sadly a long-time known issue #453 |
I wish I could help more. I know it must be very complex. Thank you. |
I suggest to split this issue into multiple easy steps.
I think those 3 steps are easy enough to start on gradually solving this issue. I can provide further steps later, if needed. ^__^ |
I started to work on this issue today, and then it raised me a doubt: Example: I have a skeleton layer and one of its bones is exported. The origin of this exported bone is exported too. |
The conflict is when there are two different types of valuenode, right? Like "Add" vs. "Scale" |
@rodolforg Hi! |
Oh, I wish he gets better soon. |
I agree. A visual difference is required. |
I think we should list both valuenodes. Can we achieve that? Let's think about the following situation:
How can we solve this? |
Okay, I figured what we should do. In the situation described in my previous comment user chooses NOT to copy "ValueA" (bone). So, in this exact situation it is really doesn't matter if user chooses to copy ValueB or not (because if ValueA is not copiedthen ValueB not directly included into any parameter of copied layer(s)). But! There could be the following situation: ValueB is linked to some other parameter of the copied layer. For example:
So, when user copy Skeleton Layer to another file and chooses NOT to copy "ValueA" AND copy "ValueB", then we will get the following result:
So, as result we will get following:
I think this is logical behavior. |
So, in this case, the original link between Bone1 Opacity and Bone1 Origin will be lost on destination file. Forget it. I misread it. |
Yes, we can. |
@morevnaproject The link icon there says that value node will be copied and linked to existent valuenode in target file. It is somehow confusing :P |
Hm… I think I know how to differentiate it:
What do you think? Regarding the copying about external nested value nodes, I think I'll change your proposal. Repeating your example:
Case 1: User chooses to copy the external "valueA". So user can still freely decides about copying or not the external "valueB". Case 2: User chooses to link to the external "valueA". As external "valueA" depends on external "valueB", user can't choose anything about the action for "valueB" – it should be automatically linked too. |
I have tested how your proposal works in current implementation and it looks like good solution to me! |
I agree, this is confusing ^__^"
I like this solution! |
Now user can see, via File > View Dependencies, what files current canvas depends on. PS: This PR is another (indirect) step to help fixing synfig#1393 that is being handled in synfig#2086
Now user can see, via File > View Dependencies, what files current canvas depends on. PS: This PR is another (indirect) step to help fixing synfig#1393 that is being handled in synfig#2086
Now user can see, via File > View Dependencies, what files current canvas depends on. PS: This PR is another (indirect) step to help fixing synfig#1393 that is being handled in synfig#2086
Now user can see, via File > Show Dependencies, what files current canvas depends on. PS: This PR is another (indirect) step to help fixing synfig#1393 that is being handled in synfig#2086
Now user can see, via File > Show Dependencies, what files current canvas depends on. PS: This PR is another (indirect) step to help fixing synfig#1393 that is being handled in synfig#2086
Now user can see, via File > Show Dependencies, what files current canvas depends on. PS: This PR is another (indirect) step to help fixing synfig#1393 that is being handled in synfig#2086
Now user can see, via File > Show Dependencies, what files current canvas depends on. PS: This PR is another (indirect) step to help fixing synfig#1393 that is being handled in synfig#2086
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:
@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:
The text was updated successfully, but these errors were encountered: