Fix: Entering node group via icon after exiting it via ctrl+tab broken #117542

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:117530 into main 2024-01-26 16:23:12 +01:00

1 Commits

Author SHA1 Message Date
Philipp Oeser 036d96d037 Fix: Entering node group via icon after exiting it via ctrl+tab broken
This is because the `NODE_OT_group_edit` operator reuses the last value
of the `Exit` property and once this is set it would always try to pop
(instead of push [which is what we want from the icon]) the nodegroup.

Callers of the operator set `Exit` explicitly elsewhere (just not
from node drawing -- where the way it is called [via a more general
callback] makes it difficult to set operator properties from there).

Solve by not saving the property for following usages (flag
`PROP_SKIP_SAVE`).

Fixes #117530.
2024-01-26 12:52:11 +01:00