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:
authorDalai Felinto <dfelinto@gmail.com>2019-05-24 21:24:50 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-05-24 21:31:34 +0300
commitb60c43aabde34c338f973298af08adce65a3a4b6 (patch)
tree669e460c47a7463d931e218846efd0df1b2dee7d /source/blender/editors/space_outliner/space_outliner.c
parent6d0a6e380e571c9986635d71191ff05f68a53035 (diff)
Outliner: Set View Layer as the default mode for new outliners
This mode was supposed to be the new default since 2 years already. But apparently, it was tackled only for doversion, but not for new outliners (see 7f596d39dff11).
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index 313e6014b88..091efc56c09 100644
--- a/source/blender/editors/space_outliner/space_outliner.c
+++ b/source/blender/editors/space_outliner/space_outliner.c
@@ -303,6 +303,7 @@ static SpaceLink *outliner_new(const ScrArea *UNUSED(area), const Scene *UNUSED(
soutliner->spacetype = SPACE_OUTLINER;
soutliner->filter_id_type = ID_GR;
soutliner->show_restrict_flags = SO_RESTRICT_ENABLE | SO_RESTRICT_HIDE;
+ soutliner->outlinevis = SO_VIEW_LAYER;
/* header */
ar = MEM_callocN(sizeof(ARegion), "header for outliner");