Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2021-01-07 16:06:43 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-01-08 13:50:36 +0300
commitc44a17ec4b247b0af5e4c58bbcfca6dece51baf1 (patch)
treeb3a91d8105ef0f685cb3b7bfd401bcff94b9ad87 /source/blender/editors/space_outliner/space_outliner.c
parent1698678231d20b57ed463d89270913599548ffcb (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/space_outliner/space_outliner.c')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c2
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;