diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-28 18:07:52 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-28 18:10:00 +0300 |
commit | 9b6a30d2cb781176f0c5811ee96345657b0797ac (patch) | |
tree | 547b627a3343ac37a872fb7aaf3f03498c9e0278 /source/blender/blenkernel/BKE_outliner_treehash.h | |
parent | 765fd29d6855d098d8fcdd72ba595dfd1e4e4e17 (diff) |
Fix T55226: outliner glitch with item open/close, after recent optimization.
Diffstat (limited to 'source/blender/blenkernel/BKE_outliner_treehash.h')
-rw-r--r-- | source/blender/blenkernel/BKE_outliner_treehash.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_outliner_treehash.h b/source/blender/blenkernel/BKE_outliner_treehash.h index b82bc692402..8a14f8fb041 100644 --- a/source/blender/blenkernel/BKE_outliner_treehash.h +++ b/source/blender/blenkernel/BKE_outliner_treehash.h @@ -36,6 +36,9 @@ void *BKE_outliner_treehash_create_from_treestore(struct BLI_mempool *treestore) /* full rebuild for already allocated hashtable */ void *BKE_outliner_treehash_rebuild_from_treestore(void *treehash, struct BLI_mempool *treestore); +/* clear element usage flags */ +void BKE_outliner_treehash_clear_used(void *treehash); + /* Add/remove hashtable elements */ void BKE_outliner_treehash_add_element(void *treehash, struct TreeStoreElem *elem); void BKE_outliner_treehash_remove_element(void *treehash, struct TreeStoreElem *elem); |