diff options
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tree.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index 76a0839d2d6..1d5a70a0d6f 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -794,9 +794,14 @@ static void outliner_add_id_contents(SpaceOops *soops, TreeElement *te, TreeStor case ID_LS: { FreestyleLineStyle *linestyle = (FreestyleLineStyle *)id; + int a; if (outliner_animdata_test(linestyle->adt)) outliner_add_element(soops, &te->subtree, linestyle, te, TSE_ANIM_DATA, 0); + + for (a = 0; a < MAX_MTEX; a++) { + if (linestyle->mtex[a]) outliner_add_element(soops, &te->subtree, linestyle->mtex[a]->tex, te, 0, a); + } break; } } |