Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-12-04 21:43:33 +0300
committerJulian Eisel <julian@blender.org>2020-12-04 22:00:45 +0300
commit3daf28388b7372208cbec870f51b37be3aeac1e9 (patch)
treec4641fa492499eb355c4c37c8418f4d0791c3c66 /source/blender/makesdna/DNA_space_types.h
parentf5eaf67e34df088a2f0a19c744be7f8a51e7d9be (diff)
Cleanup: Move Outliner runtime hash into internal runtime struct, out of DNA
This way Outliner internal data stays internal, non-Outliner code will not be able to access and mess with this. Further it allows us to use the real type (rather than `void *`), change the type to a C++ container if needed and slightly reduces the size for every Outliner stored in files. Slightly changed how we set the `SO_TREESTORE_REBUILD` for this, but it should effectively behave the same way as before.
Diffstat (limited to 'source/blender/makesdna/DNA_space_types.h')
-rw-r--r--source/blender/makesdna/DNA_space_types.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index cbf6e900416..a554caccc4e 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -1,4 +1,4 @@
-/*
+/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -279,11 +279,6 @@ typedef struct SpaceOutliner {
char show_restrict_flags;
short filter_id_type;
- /**
- * Pointers to treestore elements, grouped by (id, type, nr)
- * in hashtable for faster searching */
- void *treehash;
-
SpaceOutliner_Runtime *runtime;
} SpaceOutliner;