• Editor
  • Plz, make drug'n'drop in Draw Order easier

Related Discussions
...

Hello, please make possible Drug'n'Drop of slot in Draw Order after manualy selection in Tree or by Find and Replace function

by steps:
1)choose slots with ctrl/shift+click in Tree
2)scroll to draw order
3)drug all chosen slots in Draw Order (now it grabs only 1 slot)

I'm creating a project and i've got about 800 sprites in it and want to add some more (about 200)
But i'll have to drug and drop each of them in needed order manually

I wanted to choose 50 slots in tree and drug them all together in Draw Order, but when i try to Drug it - i grab only 1 slot even though i chose more in tree

You can drag multiple slots to adjust draw order. The problem seems to be you are dragging them from under bones. Either drag them by selecting and dragging them under the Draw Order node, or change the tree filter to not show bones. See here:
Slots - Spine User Guide: Tree filter

Yes, the problem is that it's MUCH easier to choose slots in Tree+using Find and Replace tool, then try to find needed slots in "Order' where is no hierarchy an really a lot of slots.

Functionally i'd like to choose multiple Slots in Tree or by "Find and Replace" and drug them in "Order" - now we can do it with "+" or "-" <= but this method saves interval between chosen slots (when we drug it with mouse - this interval disappers which is very comfortable unlike +/- order edditing)

We have an idea in our roadmap to add folders for draw order, and I think that once this is implemented, the inconvenience you are feeling will be eliminated:
https://github.com/EsotericSoftware/spine-editor/issues/635

In the threads linked in the issue ticket, there are cases where the draw order has become very long vertically, making it difficult to manage. To solve these cases, we think it would be nice to be able to organize them by folders so that we can easily find the ones we want to change the order and then move the "set of slots".

munderfire wrote

Yes, the problem is that it's MUCH easier to choose slots in Tree+using Find and Replace tool, then try to find needed slots in "Order' where is no hierarchy an really a lot of slots.

You can do this by setting the tree filter to not show bones. When you do that, the list of slots shown in the tree is also the draw order. You'll be able to select slots with find/replace and then drag the slots to change the draw order.

Note you could also select slots using tree search (press enter to focus the search text box). If you want regex, start and end your search with /, eg /.*something/

Misaki wrote

We have an idea in our roadmap to add folders for draw order, and I think that once this is implemented, the inconvenience you are feeling will be eliminated:
https://github.com/EsotericSoftware/spine-editor/issues/635

In the threads linked in the issue ticket, there are cases where the draw order has become very long vertically, making it difficult to manage. To solve these cases, we think it would be nice to be able to organize them by folders so that we can easily find the ones we want to change the order and then move the "set of slots".

I'm sorry i found out that version I have to work in(4.1.06) has this problem (or i have so much slots that when i turn on filtering to show only slots selection of my slots fall of because my computer is too week and it "forgots" selections, not sure), but 4.1.18 - don't or at least at 4.1.18 i can choose slots by find and replace - filter heirarchy by "Slot" and drug slots where i need, that will cause changes in draw order at the same time

Offcorse it would be more intuitive and comfortable to do in draw order and folders would be supergreat!=)

Thank you!


Nate wrote
munderfire wrote

Yes, the problem is that it's MUCH easier to choose slots in Tree+using Find and Replace tool, then try to find needed slots in "Order' where is no hierarchy an really a lot of slots.

You can do this by setting the tree filter to not show bones. When you do that, the list of slots shown in the tree is also the draw order. You'll be able to select slots with find/replace and then drag the slots to change the draw order.

Note you could also select slots using tree search (press enter to focus the search text box). If you want regex, start and end your search with /, eg /.*something/

yes thank you! i found it out today with help of some people=)
but don't know why it doesn' work in this current project
i guess it's my computer memmory issue - that's the most possible option

i mean that selection drops when i turn on the filter

Your computer shouldn't affect find/replace or tree search. I'm not sure what is going on there!

I should have mentioned, if you do a tree search, you can select all the results at once using ctrl+enter. enter and shift+enter will select only the next/previous result.

no, my problem is after find and replace - when i turn on filter on "Slot"
i can find and select, afterward i push Slot button and all the selected slots turn to unselected

but it's ok, that's 4.1.06 problem

in later version 4.1.18 there's another interesting thing - if selected slot with mesh and slot with mask - when i turn on filter by Slot - slots with meshes turn unselected while slots with masks stay selected
When there's only slots with mesh selected - everything is ok =)

Sorry, I tried it in 4.1.18 and I do see there is some strangeness:

If you filter the tree first, then use find/replace to select, it won't select slots. We've fixed that in 4.1.19.

When you set the tree filter or clear it, the selection changes based on what is selected in the viewport. I think that's why you see things selected or unselected when changing the filter. We'll improving keeping the tree selection in 4.1.19! :beer: