- 수정됨
[c-runtimes] deform key applys to wrong attachment
editor :3.8.99
runtime: c runtime 3.8
i have two mesh attachment in same slot ,in animation i will switch them repeatly, i deform first mesh in timeline , the deform keys only applys to first mesh in editor ,but in runtime the deform key effect the second mesh ,i check the runtime ,find struct spSlot hold the deform ,it's not easy to fix ,any helps?
editor frame 1:
editor frame 2:
runtime frame 1:
runtime frame 2:
spine file and exports:
test_deform.zip
Please update to the latest 4.1 Spine Runtimes. We no longer update the 3.8 runtime.
after compare 3.8 runtime with 4.1 , i replace all "slot->attachment = xxx" with "spSlot_setAttachment(slot ,xxx)" in AnimationState.c , the problem gone