• Editor
  • Export (only) selected skeleton

Hi,

Would it be possible to get a button that works like Export... but only for the selected Skeleton? Regardless of current Export Option toggle.

We have some projects with quite alot of skeletons, sometimes we make a small update to one of them but don't want to export them all. This would save alot of time for those cases. 🙂

Thanks!
Best regards,

    Related Discussions
    ...

    Currently, Spine does not have a built-in feature to export only the selected skeleton directly from the export dialog. However, you can manually uncheck the Export property for all skeletons you do not wish to export, leaving only the desired skeleton checked. This can be done by selecting each skeleton in the tree and toggling the Export checkbox in the properties. While this method requires manual adjustment, it allows you to control which skeletons are included in the export.

    • Uređeno

    fantasma_oskar I think this is an interesting opinion. However, one thing I would like to add is that when exporting in JSON or binary format, unless you are packing textures, even with a large number of skeletons in a single Spine project, it will not take that long to export.
    I tested duplicating the mix-and-match skeleton, which is one of our sample skeletons, which is one of our sample skeletons, having 15 skeletons in a Spine project, exporting the skeleton data without texture packs, and measuring the time with a stopwatch, and the result was 1.83 seconds.
    The export of the atlas can be done by running the texture packer separately, and depending on the input folder path specified, it is possible to perform a pack for each image used in the skeleton, so if you are currently exporting skeleton data and packing textures at the same time, you may want to do it separately to save time.

    Also, if you are currently exporting from the editor UI, you may want to consider doing so via the CLI. This will allow you to run the export on a separate instance of the editor without having to stop working on the currently running editor. See this blog post for more information:
    https://esotericsoftware.com/blog/New-export-shell-scripts

    I hope this information is helpful.

    Hi,

    Thanks for your suggestions but almost all the exports we do are both for animation updates and texture changes. Switching skeletons on and off is alot more tedious and prone to mistakes (since we usually want to keep the ticked skeletons as default "export").

    Adding a simple button for only exporting the selected skeleton seems like a more user friendly solution to me. 🙂 All other cases seem to involve multiple steps and/or switching application.

    Best regards,

      fantasma_oskar I see, thank you for clarifying. I think your suggestion is reasonable, so I have created an issue ticket for this enhancement:
      EsotericSoftware/spine-editor840

      By the way, I remembered that there is an issue on the roadmap that may be relevant to your workflow, so I'd like to share it with you. It is currently not possible to check or uncheck the Export option while multiple skeletons are selected, but we hope to improve this in future versions:
      EsotericSoftware/spine-editor821

      You can subscribe to these issue tickets to be notified when there is progress on them. Thanks for letting us know your opinion!

      @Misaki Thanks alot! Very much appreciated! 🙂

      Yeah, selecting multiple skeletons would be a good addition for sure! And another big future task would probably be adding mouse2 context menues. But that's another story. 🙂

      Best regards,
      Oskar