diff options
author | Bastien Montagne <bastien@blender.org> | 2021-03-18 17:28:21 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-03-18 17:59:18 +0300 |
commit | 07f9a73a8fbc02f6488ad04804eea44681762863 (patch) | |
tree | 06993c8d459629709440ed493106a9e9ca8aaca7 /source/blender/editors/space_view3d/space_view3d.c | |
parent | 06351c050482bfef562cddf363420560508b79aa (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/blender/editors/space_view3d/space_view3d.c')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 2 |
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; |