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
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2021-03-18 17:28:21 +0300
committerBastien Montagne <bastien@blender.org>2021-03-18 17:59:18 +0300
commit07f9a73a8fbc02f6488ad04804eea44681762863 (patch)
tree06993c8d459629709440ed493106a9e9ca8aaca7 /source
parent06351c050482bfef562cddf363420560508b79aa (diff)
Fix 3DView not updating on some NC_ID notifiers.
Outliner uses a lot `NC_ID | NA_EDITED` e.g., which was not caught by the View3D editor for update.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/space_view3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index d90e4c4743a..e6916c34a88 100644
--- a/source/blender/editors/space_view3d/space_view3d.c
+++ b/source/blender/editors/space_view3d/space_view3d.c
@@ -1059,7 +1059,7 @@ static void view3d_main_region_listener(const wmRegionListenerParams *params)
}
break;
case NC_ID:
- if (wmn->action == NA_RENAME) {
+ if (ELEM(wmn->action, NA_RENAME, NA_EDITED, NA_ADDED, NA_REMOVED)) {
ED_region_tag_redraw(region);
}
break;