diff options
author | Joshua Leung <aligorith@gmail.com> | 2015-02-07 02:50:22 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2015-02-07 02:50:22 +0300 |
commit | 5ebae1c0c07f8c625ac9892c99f1b464c2c79fb3 (patch) | |
tree | 379553bac7171d36cc11829304fbe6e116dc60bc /source/blender/editors/space_outliner/outliner_select.c | |
parent | 68fc2e210ec0a3712540bc535bd9c82b939861ce (diff) |
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
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_select.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_select.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |