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-10-12 19:19:14 +0300
committerJulian Eisel <julian@blender.org>2020-10-12 19:21:12 +0300
commit1b7458f85a6fbee8bbe072f470b6b576221da101 (patch)
treef487027e8107e4fb95b79cc633e778ad7238c258 /source/blender/editors/space_outliner/outliner_tree.c
parentc1cee363cd39aaf25cbf4e099a07d1c4df6d37d7 (diff)
Cleanup: Rename outliner helper function
This name makes more sense and is consistent with related functions (e.g. `outliner_requires_rebuild_on_select_or_active_change()`).
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_tree.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index 5ace27a7103..c44a1554478 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -258,7 +258,7 @@ bool outliner_requires_rebuild_on_select_or_active_change(const SpaceOutliner *s
* Check if a display mode needs a full rebuild if the open/collapsed state changes.
* Element types in these modes don't actually add children if collapsed, so the rebuild is needed.
*/
-bool outliner_mode_requires_always_rebuild(const SpaceOutliner *space_outliner)
+bool outliner_requires_rebuild_on_open_change(const SpaceOutliner *space_outliner)
{
return ELEM(space_outliner->outlinevis, SO_DATA_API);
}