View Issue Details

IDProjectCategoryView StatusLast Update
0027495RunnerSpinePublic2019-01-30 12:03
ReporterElminsterAssigned ToMike Rennie 
PriorityMediumSeverityB - MajorReproducibility100%
Status ClosedResolutionFixed 
Product Version 
Target Version2.2.2Fixed in Version2.2.2 
Summary0027495: skeleton_attachment_set not working if attachment is created with a Spine sprite
DescriptionIf you create a Spine attachment with skeleton_attachment_create() and pass a Spine sprite as the sprite argument, the function returns success (1), so the attachment is created; however, trying then to set it using skeleton_attachment_set() does not work.

If you use a regular non-Spine sprite instead, it works.
Steps To Reproduce1: Create an attachment with skeleton_attachment_create(), use a regular sprite in the 'sprite' argument

2: Now assign that attachment using skeleton_attachment_set(), confirm that it works

3: Now create a new attachment with skeleton_attachment_create(), but this time use a Spine sprite in the 'sprite' argument

4: Now try to assign the new attachment using skeleton_attachment_set() - it does not work

Check results of both skeleton_attachment_create() - they both return 1, indicating that the attachments are successfully created.
TagsRunner, Spine
1.4 Found In7.7.1534
2.x Runtime Found In2.1.0.131
2.x Runtime Verified In2.2.2.302

Activities

Elminster

2017-08-19 19:40

Updater  

SpineAttachment1.gmz (63,409 bytes)

Mike Rennie

2018-10-31 11:27

Developer   ~0061918

Creating attachments from Spine or SWF sprites is not a feature that we currently support, but I've modified skeleton_attachment_create() to correctly return -1 if this is attempted.