From 5ebae1c0c07f8c625ac9892c99f1b464c2c79fb3 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sat, 7 Feb 2015 12:50:22 +1300 Subject: GPencil: Initial support for GP Layers in Outliner This is still very rudimentary, and lacks many things. * This needs a better icon. Perhaps we can look into using colour swatches here too like in all the other places? * The "active" check needs to be implemented still * Various restriction toggles to come still --- source/blender/editors/space_outliner/outliner_select.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/space_outliner/outliner_select.c') diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c index ad71ac8bf30..730ee02f448 100644 --- a/source/blender/editors/space_outliner/outliner_select.c +++ b/source/blender/editors/space_outliner/outliner_select.c @@ -873,6 +873,9 @@ eOLDrawState tree_element_type_active( return tree_element_active_sequence_dup(scene, te, tselem, set); case TSE_KEYMAP_ITEM: return tree_element_active_keymap_item(C, te, tselem, set); + case TSE_GP_LAYER: + //return tree_element_active_gplayer(C, scene, te, tselem, set); + break; } return OL_DRAWSEL_NONE; -- cgit v1.2.3