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:
authorNathan Craddock <nzcraddock@gmail.com>2019-08-19 17:20:13 +0300
committerNathan Craddock <nzcraddock@gmail.com>2019-08-19 17:20:13 +0300
commitcaed5b04d2116acc9973b90c444d52190755c404 (patch)
tree534040fbb02e04c70e45dc915542a4b805344bf0 /source/blender/editors/space_outliner
parent45a09de9ddf2de1fb09e4939c4180dbf94f7c3df (diff)
Outliner: rename filter "invisible" to "hidden"
No functional changes. Renames the "invisible" object filter to "Hidden" to be more consistent.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index ec5510cdf84..3c693cc5e2b 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -2008,8 +2008,8 @@ static int outliner_exclude_filter_get(SpaceOutliner *soops)
case SO_FILTER_OB_VISIBLE:
exclude_filter |= SO_FILTER_OB_STATE_VISIBLE;
break;
- case SO_FILTER_OB_INVISIBLE:
- exclude_filter |= SO_FILTER_OB_STATE_INVISIBLE;
+ case SO_FILTER_OB_HIDDEN:
+ exclude_filter |= SO_FILTER_OB_STATE_HIDDEN;
break;
case SO_FILTER_OB_SELECTED:
exclude_filter |= SO_FILTER_OB_STATE_SELECTED;
@@ -2089,7 +2089,7 @@ static bool outliner_element_visible_get(ViewLayer *view_layer,
return false;
}
}
- else if (exclude_filter & SO_FILTER_OB_STATE_INVISIBLE) {
+ else if (exclude_filter & SO_FILTER_OB_STATE_HIDDEN) {
if ((base->flag & BASE_VISIBLE) != 0) {
return false;
}