tiled
                                
                                 tiled copied to clipboard
                                
                                    tiled copied to clipboard
                            
                            
                            
                        Please add a "Solo" layer option
It would be incredible useful if tiled would support solo-layering (Make ony single layer editable only as needed - all others but readable). An icon next to the checkbox with a dot indicates when a layer is "solo". Double click on layer will set/toggle solo - like in photoshop.
Do you mean that you could still select other layers, but when painting you would always end up editing the "solo" layer? I may have to check out Photoshop to really understand what this mode is about.
The goal is to edit one layer only without accidently editing another one which happens a lot.
Are you aware of the following options in Tiled?
- Htoggles highlighting of the current layer, making it more clear which layer you're currently on.
- Ctrl+Shift+Htoggles the visibility of all other layers, which has the side-effect that the tools will no longer work on them.
Another requested feature is to be able to lock layers arbitrarily (#734). Would that also cover this use-case?
Yes, locking layers would work for me.
Should this be closed? Or maybe we can add a key combination which would lock all the layers apart from the current layer.
Should this be closed? Or maybe we can add a key combination which would lock all the layers apart from the current layer.
Right, maybe we could use Ctrl+Shift+L.
I wonder if it would make sense to also copy the double-click behavior from Photoshop, though I'm not entirely sure how that works. In Tiled a double-click will edit the layer name. Maybe we could handle double-click on the lock icon.
Really want to second this, a simple solo layer switch next to the lock/visibility switches would be amazing for workflow speed. (I refer to Adobe After Effects as an example). Basically, in pseudocode: if(any soloed layers){ show only soloed} else { use visibility }. Really hoping for this feature!
@eishiya helped me to get a bit more context, since I'm not familiar with this feature in Photoshop or After Effects.
What we're after here is an editor-only (not saved) layer visibility state, which can take any of the following values:
- Default (use layer's visibility state, but hide when any other layer is Solo)
- Solo (this layer is visible, ignoring its visibility state)
- Mute (this layer is hidden, ignoring its visibility state)
And the following UI interactions (these are based on PyxelEdit, but are likely similar):
- Click the eye icon to show/hide. Open eye: shown, closed eye: hidden, just like Tiled.
- Alt+click the eye icon to Solo. This puts a frame around the eye icon. Whether hidden or shown, the layer is visible.
- Shift+click the eye icon to Mute, this crosses it out. Whether hidden or shown, the layer is invisible.
In the above image, layer 0 is Mute while layers 1 & 2 are Solo. Layers 1 & 2 are visible, even if layer 2 is normally hidden.
Exactly, as you say, editor-only layer visibility state. Having a mute state is even a step further than what I was asking, but sounds great! Will it happen?
Just for completion's sake: PyxelEdit also lets you set Solo/Mute via the layer's properties (that Settings gear icon in the screenshot), which is more discoverable than the alt/shift interactions, although those are also mentioned in the tooltip for the eye. In Tiled's case, I think having the Solo/Mute options visible in the right-click menu below the visibility options would be a good idea.