By default, the Graph, Driver, and Dopesheet's (and sub modes) property panel (N-Panel) are now open by default.
This includes any default workspaces (Animation).
Differential D14910
default N-panel open for animation editors Authored by Nate Rupsis (nrupsis) on May 10 2022, 11:32 PM. Tags Subscribers None Tokens
Details By default, the Graph, Driver, and Dopesheet's (and sub modes) property panel (N-Panel) are now open by default. This includes any default workspaces (Animation).
Diff Detail
Event TimelineComment Actions LGTM! Just a few small things in the inline notes. I want to propose that you look at the "weirdness" you described in T97980#1363230, to see if you can fix it. Even though that fix belongs to a different patch, I think it's a good idea to land that patch and this one simultaneously, in consecutive commits. That way we expose as few people as possible to the "weirdness".
Comment Actions Accepted the patch too soon; if you had commit rights I'd say "update the comments before you commit", but now I think it's more confusing than anything to have some request for changes and an "accepted" state at the same time. Comment Actions I did some more testing, and there are still some issues with the patch (apologies for the accept/reject cycle that's going on here). In current master, this is the behaviour:
With this patch, this is broken. Every time the mode changes, the panel is shown again. The approach of opening the panel in rna_SpaceDopeSheetEditor_mode_update is not the right one; we should be using a place that is run as a one-off thing. The versioning code seems a good candidate for this. This diff, applied on top of the current patch, seems to do the trick: To make it work as a one-time thing, the block in versioning_300.c would have to be moved into a subversion check (if (!MAIN_VERSION_ATLEAST(bmain, x, y)) { ... }) and the subversion would have to be bumped. Otherwise it'll reset people's choices every time a file is opened. As this is sensitive to collisions with other commits, I'll do that when landing. | ||||||||||||