diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-03-04 13:51:11 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-03-04 15:04:41 +0300 |
commit | baee9b014ab0950db4730439098f35df6ea80291 (patch) | |
tree | 247b8fb7f10be3b89a486906babfe314f8e09729 /source/blender/editors/space_outliner/space_outliner.c | |
parent | a53dccb2a9cabd0141cb7efb7959acfd4ea24dad (diff) |
Outliner: better support for paintcurves ('Blender File' view)
- paintcurves were hitting an assert in outliner_add_element()
- missing outliner update when adding a paintcurve
- paintcurves were not showing an icon [they dont have a dedicated icon,
took the one used elsewhere]
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4445
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index 3d79a15a5a0..822f9ec61ac 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -224,6 +224,11 @@ static void outliner_main_region_listener( ED_region_tag_redraw(ar); } break; + case NC_PAINTCURVE: + if (ELEM(wmn->action, NA_ADDED)) { + ED_region_tag_redraw(ar); + } + break; } } |