You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
When copying a skeleton and its linked splines, by copy/pasting or embedding an imported canvas, the resulting skeleton isn't linked to the splines.
EDIT * I just discovered "link to skeleton", which would be an OK workaround for me... But even the skeleton itself isn't copied correctly, some bones are duplicated, I don't get what happens exactly.
Just create a skeleton with 3 bones, duplicate it, and move the bones around.
Just create a skeleton with 3 bones, duplicate it, and move the bones around.
Yes, I see what you mean. When I duplicate skeleton layer (within the same document) it creates copy of each bone. But those copies still reference parents from old skeleton.
I've been looking through the source. I think part of the problem is that the design of the bone/skeleton relationship is not very structured. Bones are just there: they don't belong to anything. Is this by intention?
I did a little sleuthing with Python to investigate how bones & skeletons are structured. I'm very visual so I wanted to see how they were networked and I attached my findings below.
Taking a cue from Blender, I propose skeletons take on a more active role, so that a user can select a skeleton, double click, and enter the skeleton group to modify the bones.
@src-r-r The possible cause of this problem is a wrong duplication of the ValueNode that build the relationships among bones themselves.
Maybe LayerSkeleton should override Layer::clone() method to fix the bones' parenting after duplication.
Submitted PR #3815: #3815 . It repairs cloned bone references in both clipboard stages and the imported canvas embedding path. Original-code reproduction demonstrates the pasted follower still pointing to the source bone; the proposed change passes the complete Linux application build and all 19 CTest targets, including 11 new scenarios: https://github.com/edvinas1573/synfig/actions/runs/37433751319 . AI assistance with OpenAI Codex is disclosed in the PR. I am aware of existing PR #3702. Could the maintainer or sponsor confirm current bounty funding and eligibility? Any payout details can be arranged privately.
Activity
[-]Copy of skeleton not linked[/-][+]Cannot copy a skeleton[/+]morevnaproject commentedon Nov 8, 2017
Yes, I see what you mean. When I duplicate skeleton layer (within the same document) it creates copy of each bone. But those copies still reference parents from old skeleton.
morevnaproject commentedon Nov 8, 2017
In general any copy operations related with bones are dangerous at the moment. For example this one - #455.
zozorg commentedon Nov 9, 2017
Posted a $50 bounty
zozorg commentedon Nov 20, 2017
+$10 bounty, total $60
[-]Cannot copy a skeleton[/-][+]Cannot copy a skeleton [$60][/+]src-r-r commentedon Jan 9, 2020
I'm taking a look at this issue now.
Update 2020/1/13 I think I figured out what the issue might be. I'll be trying something.
src-r-r commentedon Jan 24, 2020
I've been looking through the source. I think part of the problem is that the design of the bone/skeleton relationship is not very structured. Bones are just there: they don't belong to anything. Is this by intention?
I did a little sleuthing with Python to investigate how bones & skeletons are structured. I'm very visual so I wanted to see how they were networked and I attached my findings below.
Taking a cue from Blender, I propose skeletons take on a more active role, so that a user can select a skeleton, double click, and enter the skeleton group to modify the bones.
Does this work for the design?
Synfig Investigation.pdf
rodolforg commentedon Jan 24, 2020
@src-r-r The possible cause of this problem is a wrong duplication of the ValueNode that build the relationships among bones themselves.
Maybe LayerSkeleton should override Layer::clone() method to fix the bones' parenting after duplication.
fix skeleton duplication
fix skeleton duplication
fix skeleton duplication
fix skeleton duplication
10 remaining items
[Synfig Studio] fix skeleton deformation duplication (synfig#2071)
[Synfig Studio] fix skeleton deformation duplication (synfig#2071)
[Synfig Studio] fix skeleton deformation duplication (synfig#2071)
[Synfig Studio] fix skeleton deformation duplication (synfig#2071)
[Synfig Studio] fix skeleton deformation duplication (synfig#2071)
[Synfig Studio] fix skeleton deformation duplication (synfig#2071)
[Synfig Studio] fix skeleton deformation duplication (#2071)
fix skeleton duplication
[Synfig Studio] fix skeleton deformation duplication (synfig#2071)
fix skeleton duplication
[Synfig Studio] fix skeleton deformation duplication (synfig#2071)
Fix skeleton bone links when copy/pasting layers
locky504 commentedon Mar 5, 2026
I'm working on this issue. PR #3702 submitted.
edvinas1573 commentedon Oct 6, 2026
Submitted PR #3815: #3815 . It repairs cloned bone references in both clipboard stages and the imported canvas embedding path. Original-code reproduction demonstrates the pasted follower still pointing to the source bone; the proposed change passes the complete Linux application build and all 19 CTest targets, including 11 new scenarios: https://github.com/edvinas1573/synfig/actions/runs/37433751319 . AI assistance with OpenAI Codex is disclosed in the PR. I am aware of existing PR #3702. Could the maintainer or sponsor confirm current bounty funding and eligibility? Any payout details can be arranged privately.