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:
authorJoshua Leung <aligorith@gmail.com>2015-02-09 02:34:17 +0300
committerJoshua Leung <aligorith@gmail.com>2015-02-09 02:47:59 +0300
commit7df0a19d63df41d6ec1d58126f5109478ed00b00 (patch)
treec591203cacec53839555ba2ea929ba85ddfcfeed /source/blender/editors/space_outliner/space_outliner.c
parent6b107daf23c5b8b6b7b9aebfa7384e103928a8d3 (diff)
GPencil: Viewport visbility and editability toggles for layers in Outliner
* Viewport visibility and locking are currently exposed * Later on, visibility in renders can also be included
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index df5a1c8d8c6..30de9c16500 100644
--- a/source/blender/editors/space_outliner/space_outliner.c
+++ b/source/blender/editors/space_outliner/space_outliner.c
@@ -387,6 +387,13 @@ static void outliner_main_area_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa)
break;
}
break;
+ case NC_GPENCIL:
+ switch (wmn->data) {
+ case ND_DATA:
+ ED_region_tag_redraw(ar);
+ break;
+ }
+ break;
}
}