diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-01-07 16:06:43 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-01-08 13:50:36 +0300 |
commit | c44a17ec4b247b0af5e4c58bbcfca6dece51baf1 (patch) | |
tree | b3a91d8105ef0f685cb3b7bfd401bcff94b9ad87 /source/blender/editors | |
parent | 1698678231d20b57ed463d89270913599548ffcb (diff) |
Fix T84475: Outliner missing update when adding IDs to main via RNA
Was reported for meshes, but was true for any type.
Now add appropriate notifier to refresh the Outliner.
Maniphest Tasks: T84475
Differential Revision: https://developer.blender.org/D10030
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index 57a063a01ca..f207b6193be 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -196,7 +196,7 @@ static void outliner_main_region_listener(wmWindow *UNUSED(win), } break; case NC_ID: - if (wmn->action == NA_RENAME) { + if (ELEM(wmn->action, NA_RENAME, NA_ADDED)) { ED_region_tag_redraw(region); } break; |