lucid —
Hey, thank you for releasing a fix for the spridesheeting bug. I was wondering if you could possibly address the setC2toSpriterObject
issue.
The problem is, that on line 2184
in the (new) runtime, the code var c2Obj = currentObjInstruction.c2Object.getFirstPicked();
is attaching only the first picked object from the SOL, which if you have multiple instances of C2 objects, this will fail and attach the first picked item from the SOL.
On our own side we fixed by changing that to .getPairedInstance(this)
I have posted about this on the brashmonkey forums as well:
(has attached download of our hotpatched file .c3addon which does not include current spritesheeting fixes)
https://brashmonkey.com/forum/index.php?/topic/11887-bug-in-construct-3-with-set-c2-to-spriter-object/
I was wondering if you would be willing to incorporate this fix into the official scml3 addon, or at least address the underlying issue accordingly?
Once again, thank you for your continued support of the construct 3 Spriter plugin, as well as the development of Spriter in general.