basic612

  • 7 avr. 2015
  • Inscrit 23 juil. 2013
  • Quite a few versions ago I put in a request that any JSON exported from Spine would have objects / nodes sorted in a consistent alphabetical order. This feature was implemented pretty rapidly... serving to ensure that granular changes are visible in diff type output, eg. when reviewing change logs for git, etc.

    In some recent build, the sorting for JSON output seems to have reverted to some arbitrary or specific non-alphabetical order, making commit diff display super noisy and mostly useless 🙁


    It would be great to get JSON output (pretty print at least) sorted correctly again so my DIFF views are useful again.

    Thanks!

  • Superb, thanks. Will let you know how the merges go from here on in...

  • I am working on a relatively large project (currently >100 animations and plenty going on in each) with another animator. With "Pretty print" selected, the JSON export comes in at around 55K lines at the moment and is due to grow significantly.

    We have spine project files in a shared location and can import each other's animations in to our projects using Spine import on a one by one basis which works OK for small updates.

    When there is significant animation data to move between project files, I find it easier to export both as JSON and copy data from one file to the other then reimport the skeleton in to Spine.

    At the moment it seems that the object and attribute data within the JSON is exported in some arbitrary order (see attached screenshot diff view) and as such reviewing the files with a diff tool is impossible. I'm not clear on what the ordering is and if there is a way for me to ensure it is consistent each time

    It would be ideal if the sorting of objects and properties in the JSON created by Spine were in a straight alphanumeric sort order, so that I could use diff tools to manage merging JSON files rather than having to hunt through the files in my text editor.

  • Thanks, that was what I had discovered in the past but then forgotten about. Works great.

    Interestingly, once I have click-dragged to scroll the list, I am then able to use my mouse wheel to scroll the list up and down.

    Would be great if the mouse wheel scroll up and down was enabled by default.

  • on OS X. Spine v1.4.17

    Steps to reproduce:

    • download spine project linked to this post
    • create new spine project
    • Import Project...
    • Select to import "Animation"
    • try to select "animation-copy99" from the list shown next to "Import animation"

    Only way I found to navigate to bottom of the list is to select the item at the bottom of the items displayed on screen, then click on the list again and select the item on bottom again... repeat 5 - 10 times until you make it to the bottom

  • Thanks! The dopesheet sort order now makes sense and is quite usable for my needs.

    My main concern was wanting to be able to see pairs or sets of bones together so I could align and tweak keyframes.

    I now see that I can multi-select bones (control click in tree or drag selections in viewport) and then have only those visible within the dopesheet for tweaking as needed.

    I was looking for alpha sorting as my bones are all named in a way that they would be grouped together in a logical way when alpha sorted... not so sure that this is useful now.

  • Hi all. Thanks Nate (& crew?) for great product.

    I have a suggestion and am guessing best to post here and someone esoteric can put in trello if it's to be looked in to.

    At the moment, sorting of items in the dopesheet appears to be some arbitrary / random order. I can cause an item to move to the bottom of the dopesheet by cutting all keyframes and pasting them back in.

    It would be great to have the dopesheet automatically sorted, or even better allow us to toggle two possible sort orders:

    1) alphanumeric
    2) draw order

    I guess the draw order sorting could become complicated if the suggestion to allow keying of draw order.

    alpha sort would be a massive help for projects where skeleton & animations are complex.

    Thanks!