Blender Git Loki

Git Commits -> Revision 50f4e17

September 10, 2021, 19:36 (GMT)
Support opening and collapsing tree-view items

For this to work, we need to support tree-view items with state that is
persistent over redraws. This is achieved by matching tree items to tree
items of a previous redraw, and copying the state if needed. This is
done in the tree-view API, so except for more advanced cases (with
custom item state or custom ways to match items), API users shouldn't
have to deal with this.

Commit Details:

Full Hash: 50f4e176960d2bae5b402667d8b912dfaebb211d
Parent Commit: e01099d
Lines Changed: +262, -35

8 Modified Paths:

/source/blender/editors/include/UI_interface.h (+3, -1) (Diff)
/source/blender/editors/include/UI_tree_view.hh (+47, -7) (Diff)
/source/blender/editors/interface/interface.c (+15, -4) (Diff)
/source/blender/editors/interface/interface_handlers.c (+18, -2) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_view.cc (+55, -3) (Diff)
/source/blender/editors/interface/tree_view.cc (+110, -11) (Diff)
/source/blender/editors/space_file/asset_catalog_tree_view.cc (+11, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021