Files
test2/source/blender/blenkernel/intern
Falk David e5bdfd533b Grease Pencil: Save Layer Group expanded state
Grease Pencil layer groups are drawn in the layer tree using
`AbstractTreeViewItem`. The problem is that the items can't
store their expand/collapse state. This meant that switching
e.g. the tabs in the properties editor would reset the collapsed
state of layer group items.

This PR uses the `GP_LAYER_TREE_NODE_EXPANDED` flag to store
the expand/collapse state. The tree view then reads from the flag to
expand/collapse the items.

This also adds an RNA property to layer groups `is_expanded`.
Allows to check from python if a group is expanded in the UI.

Pull Request: https://projects.blender.org/blender/blender/pulls/131159
2024-12-02 11:48:42 +01:00
..
2024-10-16 21:08:02 +11:00
2024-01-30 14:42:13 -05:00
2024-10-15 16:22:38 +11:00
2024-11-02 17:34:00 +11:00
2024-10-01 09:59:33 +10:00
2024-09-21 16:22:52 +10:00
2024-09-10 13:41:01 +02:00
2024-08-22 17:05:48 +02:00
2024-08-04 13:45:06 +10:00