I have no use for this, never had the need to undo an expand/collapse. If I need to change my layer tree I just do it again (manually collapse a previously expanded layer).
I would like to think most people work/think like this too.
From an objective point of view it is not good design, there is no explicit connection linking the two, and one might be content with how his layer tree currently is, while wanting to undo modelling actions.
If there is no consensus can we have a per-user option to exclude it from history?
I’m suggesting a feature similar to the previous cplane, but for local layer panel adjustments. It’d act as a “previous layer state” command, not a conventional undo.
In particular, this feature would undo accidental alphabetical sorting by the “Name” column, which can be disruptive in projects with numerous layers.
(as I was using my bad english: “if you have a huge project with hundreds of layers this might foul you hard” I asked chat gpt to improve my post… see above)
No - you missed nothing. thanks for having a look.
for me, everything regarding undo works fine.
I just wanted to point out:
undo for the layerpanel is important for accidental alphabetical sorting. (and works at the moment)
if we get an preference/option “exclude layer… from undo” i would love to see a separate command “_previousLayerState” similar to “_previousCplane”
(just popping ideas…) or even a fine grained undo preference / command option ?
restore geometry yes / no
restore attributes / properties
restore blockedit yes / no
restore layer…
… but I am a big fan of a general, all inclusive undo.
This might be out of the context of this thread, but I see there’s a “layer state” panel… you can’t save your custom sorting with that, to recall later or even have multiple custom orders saved to switch between?