• Editor
  • Bezier curve that becomes linear when copying/pasting

Hello, I just upgraded to 4.2.40 (I'm dependent on the version chosen by my client) and I have a problem with copying curves: when I copy/paste a key to another, the new key becomes linear instead of being in Bezier like the original key. It's a nightmare for cycles; if I copy/paste a cycle to duplicate it, I have to adjust all the curves to set them back to Bezier and align them correctly. I was previously on 4.0.57 and I had no problem duplicating my keys and retaining the Bezier curves. I'm attaching a video.
Maybe I missed something in the graph editor of version 4.2?
Can you help me if possible? Thank you ^^
https://fr.esotericsoftware.com/forum/assets/files/2025-05-18/1747573745-183039-2025-05-18-14-44-54.mkv

Related Discussions
...
  • 수정됨

This issue might be related to changes in how Spine handles curve types during copy-paste operations in newer versions. A potential workaround is to ensure that the curve type of the key immediately before the pasted key is set to Bezier before pasting. This might help in retaining the desired curve type. If this does not resolve the issue, it might be beneficial to check if there are any specific settings or updates in version 4.2 that address this behavior.

This seems to be an issue only when the pasted key has the same value as the key before it. In 4.0:

Image removed due to the lack of support for HTTPS. | Show Anyway

After pasting the left key at the timeline position:

Image removed due to the lack of support for HTTPS. | Show Anyway

In 4.0 Bezier is kept and the handle of the before key doesn't change. In later versions of Spine this gets changed to linear because the keys are straight across. I can see this could be annoying if you plan to adjust the value afterward, as you'd have to set Bezier again.

When you hold ctrl+shift and drag a key to copy it, the behavior is almost identical. That can make it easier to see what happens in various scenarios. Doing that I notice in 4.3 it's linear even if the copied key value changes, we'll fix.

Unfortunately there is no fix for this behavior in 4.2. As a workaround maybe you could copy one extra key, then delete it after you paste.

We could consider changing it in 4.3. Linear makes sense if you won't change the value after pasting, but maybe we shouldn't be forcing it on you.

Thank you very much for your response. Yes, it's rather problematic for the cycles in particular. I will try your workaround solution. Thanks again 🙂

  • 수정됨

Another thought, set a key just after the keys you are copying and raise its value slightly. Then when you paste you won't get linear and just need to delete that key. You can key everything visible with ctrl+shift+L, then drag the new keys up in the graph. To delete the unwanted temporary keys when there are many, delete (eg double click) the white key at the top of the dopesheet.

Edit: we've made the change to not set linear when pasting or drag copying keys in 4.3.26-beta.

  • GreenTiger 님이 이 게시물을 좋아합니다..

Thank you for the tips, it saves me time 🙂. Thank you very much for taking the time to find solutions, that's very kind ^^ !

  • Nate 님이 이 게시물을 좋아합니다..