Macguffin

Hi I've noticed there is a bug in the photoshop to spine script.
If you export at scale of 50% the reg points of [bone]folders in Spine are not correctly positioned.
Screenshot 2022-11-11 at 14.47.14.png



The same file exported at 100% looks like this which is correct
Screenshot 2022-11-11 at 14.47.51.png


Many thanks :)
You do not have the required permissions to view the files attached to this post.
User avatar
Macguffin
  • Posts: 32

Nate

Can you say what version of the script you ran?
User avatar
Nate

Nate
  • Posts: 12213

Macguffin

The issue occurs in 7.3 & 7.31

I think it can be easily fixed. I’ve attached a file that seems to work :)

The fix is in line 180 bone.y just needs to be adjusted so it uses the settings.scale
// Make relative to the Photoshop document ruler origin.
bone.x -= xOffSet * settings.scale;
bone.y -= (docHeight - yOffSet) * settings.scale*(1/settings.scale);
You do not have the required permissions to view the files attached to this post.
User avatar
Macguffin
  • Posts: 32


Return to Bugs